Comment 2 for bug 1191530

Revision history for this message
LStranger (andrej-rep) wrote :

I think you are wrong because <DefaultMergeDirs> is not designed to change menu layout but to add own submenu(s), it's why it should be after common menu definitions but is it before any menu-specific layout items or after them is irrelevant, and if it placed before that makes menu editing more simple as it will not be buried between menu items after some were added by some editor, and it's how it's placed in /etc/xdg/menus/lxlauncher-applications.menu, and also GNOME and XFCE do the same. In any case, menus added by <DefaultMergeDirs> cannot be removed/replaced by menu-specific <Menu> items just because menus are merged on building menu, not replaced, and later all merged menu items are sorted alphabetically. Read XDG specification more closely, please.