[Xfce4-commits] <midori:master> Work-around icon being activatable by default

Christian Dywan noreply at xfce.org
Thu Oct 20 09:18:01 CEST 2011


Updating branch refs/heads/master
         to b6469de5e6b0cccee451561ad0607c99dd0ac06c (commit)
       from 30f4225cd9a88cfc9cbf8bb8eab77d65412876eb (commit)

commit b6469de5e6b0cccee451561ad0607c99dd0ac06c
Author: Peter Hatina <phatina at redhat.com>
Date:   Thu Oct 20 09:14:33 2011 +0200

    Work-around icon being activatable by default
    
    Fixes: https://bugs.launchpad.net/midori/+bug/770521

 midori/midori-locationaction.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 77bf402..7969101 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


More information about the Xfce4-commits mailing list