a37f12c0a1
When not including standard::type in the query for children of a file then Gio may not look up this information. This might work on some file systems (e.g. ext4), but other (apparently XFS) do not provide the needed file type information (see man readdir on the d_type field). The result was that the menubar contained no entries because no .desktop files were identified as regular files and thus read. Fix this by including standard::type in the queries. Also, this commit makes the code use some pre-defined string constants from Gio to make "double sure" that typos are caught. Thanks to @Jajauma for doing the hard part on debugging this. Fixes: https://github.com/awesomeWM/awesome/issues/863 Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
icon_theme.lua | ||
index_theme.lua | ||
init.lua | ||
menu_gen.lua | ||
utils.lua |