I'm using xdg-menu to create pipe submenus that I've added to the root-menu in menu.xml. However sometimes a submenu could be empty in which case I'd like for it not to appear on the root-menu. I've tried a few things but no luck anyone know if this can be done and if so how? Ted