mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02: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:
1 parent
ac0690b324
commit
adc1687f98
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user