Display desktop entries with no categories (#2039)
This commit is contained in:
parent
8d34201ec3
commit
013abf5a39
|
@ -108,7 +108,7 @@ function menu_gen.generate(callback)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if target_category then
|
|
||||||
local name = utils.rtrim(entry.Name) or ""
|
local name = utils.rtrim(entry.Name) or ""
|
||||||
local cmdline = utils.rtrim(entry.cmdline) or ""
|
local cmdline = utils.rtrim(entry.cmdline) or ""
|
||||||
local icon = entry.icon_path or nil
|
local icon = entry.icon_path or nil
|
||||||
|
@ -120,7 +120,6 @@ function menu_gen.generate(callback)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
dirs_parsed = dirs_parsed + 1
|
dirs_parsed = dirs_parsed + 1
|
||||||
if dirs_parsed == #menu_gen.all_menu_dirs then
|
if dirs_parsed == #menu_gen.all_menu_dirs then
|
||||||
callback(result)
|
callback(result)
|
||||||
|
|
Loading…
Reference in New Issue