Work-around icon being activatable by default
Fixes: https://bugs.launchpad.net/midori/+bug/770521
This commit is contained in:
parent
30f4225cd9
commit
b6469de5e6
1 changed files with 3 additions and 0 deletions
|
@ -731,6 +731,9 @@ midori_location_action_create_tool_item (GtkAction* action)
|
||||||
entry = gtk_icon_entry_new ();
|
entry = gtk_icon_entry_new ();
|
||||||
gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
|
gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
|
||||||
GTK_ICON_ENTRY_PRIMARY, GTK_STOCK_FILE);
|
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_set_icon_highlight (GTK_ICON_ENTRY (entry),
|
||||||
GTK_ICON_ENTRY_SECONDARY, TRUE);
|
GTK_ICON_ENTRY_SECONDARY, TRUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue