Package: libgarcon-1-0
Version: 0.4.0-2

When a menu is created that only contains submenus and no real desktop
entries, the submenu is not shown and the applications in the submenu
are not accessible.
This bug is also described in
https://bugzilla.xfce.org/show_bug.cgi?id=11801

The fix for it is in:
https://git.xfce.org/xfce/garcon/commit/?id=6ce5f2f7d6e98493deb8153ea28f37d4489c5e21

I adapted the fix to fit the actual version 0.4.0 for Debian stretch.
Please see attachment.

I had the chance to test the fix, it is working as intended. Please
consider adding this fix to the upstream package.



-- 
Tim Fischer

--- garcon-0.4.0.orig/garcon-gtk/garcon-gtk-menu.c
+++ garcon-0.4.0/garcon-gtk/garcon-gtk-menu.c
@@ -676,6 +676,9 @@ garcon_gtk_menu_add (GarconGtkMenu *menu
                   G_CALLBACK (garcon_gtk_menu_deactivate), menu);
               gtk_widget_show (mi);
 
+              /* at least one visible child */
+              has_children = TRUE;
+
               if (menu->priv->show_menu_icons)
                 {
                   icon_name = garcon_menu_element_get_icon_name (li->data);

Reply via email to