From 9ca795eec20801c380c7ea536dedaad8206f533f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 11 Jul 2012 22:55:41 +0200 Subject: [PATCH] Render url icon in url entries Notably in the bookmark dialog and the homepage. --- katze/katze-utils.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/katze/katze-utils.c b/katze/katze-utils.c index f4170712..9b41d815 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -1582,6 +1582,11 @@ GtkWidget* katze_uri_entry_new (GtkWidget* other_widget) { GtkWidget* entry = gtk_entry_new (); + + #if GTK_CHECK_VERSION (2, 16, 0) + gtk_entry_set_icon_from_gicon (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, + g_themed_icon_new_with_default_fallbacks ("text-html-symbolic")); + #endif g_signal_connect (entry, "changed", G_CALLBACK (katze_uri_entry_changed_cb), other_widget); return entry; -- 2.39.5