wmmenugen: Sort menu entries with no category into 'Other'.

This commit is contained in:
Doug Torrance authored and Carlos R. Mafra committed 2017-07-07 09:59:29 +01:00
1 parent adc1687f98
commit ff865c31f0
1 file changed
+3
+3
View File
@@ -178,6 +178,9 @@ void parse_xdg(const char *file, cb_add_menu_entry *addWMMenuEntryCallback)
getMenuHierarchyFor(&xdg->Category);
}
if (xdg->Category == NULL)
xdg->Category = wstrdup(_("Other"));
wfree(key);
key = NULL;
}