1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

wmmenugen: Use 'Other' instead of 'Applications' for unknown categories.

From https://standards.freedesktop.org/menu-spec/latest/apa.html:

 Category-based menus based on the Main Categories listed in this
 specification do not provide a complete ontology for all available
 applications. Category-based menu implementations SHOULD therefore provide
 a "catch-all" submenu for applications that cannot be appropriately placed
 elsewhere.

Emphasis on *submenu*.  By using 'Applications', these menu entries were
sorted into the top level.
This commit is contained in:
Doug Torrance
2017-07-06 19:48:15 -04:00
committed by Carlos R. Mafra
parent ac0690b324
commit adc1687f98

View File

@@ -554,7 +554,7 @@ static void getMenuHierarchyFor(char **xdgmenuspec)
if (!*buf) /* come up with something if nothing found */
snprintf(buf, sizeof(buf), "%s", _("Applications"));
snprintf(buf, sizeof(buf), "%s", _("Other"));
*xdgmenuspec = wstrdup(buf);
}