[Xfce4-commits] [xfce/garcon] 04/12: Don't add a placeholder menu (Bug 11626)
noreply at xfce.org
noreply at xfce.org
Fri Jun 3 07:52:01 CEST 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/garcon.
commit a06c26b9b97371a1e4005b651b02bd5c4569e237
Author: Thomas Lange <thomas-lange2 at gmx.de>
Date: Sun Mar 1 20:56:44 2015 +0100
Don't add a placeholder menu (Bug 11626)
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
garcon-gtk/garcon-gtk-menu.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/garcon-gtk/garcon-gtk-menu.c b/garcon-gtk/garcon-gtk-menu.c
index d63511e..caa9bca 100644
--- a/garcon-gtk/garcon-gtk-menu.c
+++ b/garcon-gtk/garcon-gtk-menu.c
@@ -759,13 +759,7 @@ garcon_gtk_menu_load (GarconGtkMenu *menu)
if (garcon_menu_load (menu->priv->menu, NULL, &error))
{
- if (!garcon_gtk_menu_add (menu, GTK_MENU (menu), menu->priv->menu))
- {
- mi = gtk_menu_item_new_with_label (_("No applications found"));
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_widget_show (mi);
- }
+ garcon_gtk_menu_add (menu, GTK_MENU (menu), menu->priv->menu);
/* watch for changes */
g_signal_connect_swapped (G_OBJECT (menu->priv->menu), "reload-required",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list