From b6469de5e6b0cccee451561ad0607c99dd0ac06c Mon Sep 17 00:00:00 2001 From: Peter Hatina Date: Thu, 20 Oct 2011 09:14:33 +0200 Subject: [PATCH] Work-around icon being activatable by default Fixes: https://bugs.launchpad.net/midori/+bug/770521 --- midori/midori-locationaction.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5