[Xfce4-commits] [xfce/garcon] 02/12: Fix missing menus when all items are in submenus (bug 11801)

noreply at xfce.org noreply at xfce.org
Fri Jun 3 07:51:59 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 6ce5f2f7d6e98493deb8153ea28f37d4489c5e21
Author: Jani Välimaa <wally at mageia.org>
Date:   Tue Apr 7 20:24:55 2015 +0300

    Fix missing menus when all items are in submenus (bug 11801)
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 garcon-gtk/garcon-gtk-menu.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/garcon-gtk/garcon-gtk-menu.c b/garcon-gtk/garcon-gtk-menu.c
index 58f0961..3a71c90 100644
--- a/garcon-gtk/garcon-gtk-menu.c
+++ b/garcon-gtk/garcon-gtk-menu.c
@@ -727,6 +727,9 @@ garcon_gtk_menu_add (GarconGtkMenu *menu,
               g_signal_connect (G_OBJECT (submenu), "selection-done",
                   G_CALLBACK (garcon_gtk_menu_deactivate), menu);
               gtk_widget_show (mi);
+
+              /* atleast 1 visible child */
+              has_children = TRUE;
             }
           else
             {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list