[Xfce4-commits] <midori:master> Ensure action menu items don't show all
Christian Dywan
noreply at xfce.org
Sun Oct 24 21:08:01 CEST 2010
Updating branch refs/heads/master
to 1e12cb208b7b5f32ec240205aed73312811747aa (commit)
from 22e24e97bdf5ed77556de1ec47b63e0d869dff2d (commit)
commit 1e12cb208b7b5f32ec240205aed73312811747aa
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Oct 24 19:18:07 2010 +0200
Ensure action menu items don't show all
midori/midori-view.c | 1 -
midori/sokoke.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index f365eb8..bc6836a 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -2612,7 +2612,6 @@ midori_view_populate_popup (MidoriView* view,
menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "AddDesktopShortcut"));
gtk_menu_shell_append (menu_shell, menuitem);
- gtk_widget_set_no_show_all (menuitem, TRUE);
#endif
menuitem = sokoke_action_create_popup_menu_item (
diff --git a/midori/sokoke.c b/midori/sokoke.c
index 3ea06d2..3c44533 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -1295,6 +1295,7 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
}
gtk_widget_set_sensitive (menuitem, sensitive);
sokoke_widget_set_visible (menuitem, visible);
+ gtk_widget_set_no_show_all (menuitem, TRUE);
g_signal_connect_swapped (menuitem, "activate",
G_CALLBACK (gtk_action_activate), action);
More information about the Xfce4-commits
mailing list