menubar: get_icon_lookup_path: only look in apps/ with icon_themes

Ref: https://github.com/awesomeWM/awesome/pull/100#issuecomment-73559676
This commit is contained in:
Daniel Hahler 2015-02-09 20:06:19 +01:00
parent dc41e62f9a
commit 60e04d3ae3
1 changed files with 0 additions and 5 deletions

View File

@ -82,11 +82,6 @@ local function get_icon_lookup_path()
for i, icon_theme_directory in ipairs(icon_theme_paths) do for i, icon_theme_directory in ipairs(icon_theme_paths) do
for j, size in ipairs(all_icon_sizes) do for j, size in ipairs(all_icon_sizes) do
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/apps/') table.insert(icon_lookup_path, icon_theme_directory .. size .. '/apps/')
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/actions/')
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/devices/')
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/places/')
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/categories/')
table.insert(icon_lookup_path, icon_theme_directory .. size .. '/status/')
end end
end end
for k,dir in ipairs(paths)do for k,dir in ipairs(paths)do