Display desktop entries with no categories (#2039)
This commit is contained in:
parent
8d34201ec3
commit
013abf5a39
|
@ -108,16 +108,15 @@ 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
|
||||||
table.insert(result, { name = name,
|
table.insert(result, { name = name,
|
||||||
cmdline = cmdline,
|
cmdline = cmdline,
|
||||||
icon = icon,
|
icon = icon,
|
||||||
category = target_category })
|
category = target_category })
|
||||||
unique_entries[unique_key] = true
|
unique_entries[unique_key] = true
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue