]> spindle.queued.net Git - midori/commitdiff
Work-around icon being activatable by default
authorPeter Hatina <phatina@redhat.com>
Thu, 20 Oct 2011 07:14:33 +0000 (09:14 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 20 Oct 2011 07:14:33 +0000 (09:14 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/770521
midori/midori-locationaction.c

index 77bf40202ec160e8ec0153fe9952b4752c586192..7969101e927f93b8258d2e205e47e7ee4243b5bf 100644 (file)
@@ -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