From: Peter Hatina Date: Thu, 20 Oct 2011 07:14:33 +0000 (+0200) Subject: Work-around icon being activatable by default X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6469de5e6b0cccee451561ad0607c99dd0ac06c;p=midori Work-around icon being activatable by default Fixes: https://bugs.launchpad.net/midori/+bug/770521 --- diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 77bf4020..7969101e 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -731,6 +731,9 @@ midori_location_action_create_tool_item (GtkAction* action) entry = gtk_icon_entry_new (); gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry), GTK_ICON_ENTRY_PRIMARY, GTK_STOCK_FILE); + /* Work-around icon being activatable by default */ + gtk_icon_entry_set_icon_highlight (GTK_ICON_ENTRY (entry), + GTK_ICON_ENTRY_PRIMARY, FALSE); gtk_icon_entry_set_icon_highlight (GTK_ICON_ENTRY (entry), GTK_ICON_ENTRY_SECONDARY, TRUE); #endif