Add categories path to icon lookup (#2224)

In #2112 the way of loading category icons was changed to use
utils.lookup_icon. However this function does not look in the
categories paths where the categories icons are located, and
so the category icons are no longer being displayed.
This commit is contained in:
Reiner Herrmann 2018-04-22 08:03:28 +02:00 committed by Emmanuel Lepage Vallée
parent bed7abf5d1
commit e8c23bd9e7

View file

@ -208,6 +208,9 @@ local function get_icon_lookup_path()
table.insert(app_in_theme_paths,
glib.build_filenamev({ icon_theme_directory,
size, 'apps' }))
table.insert(app_in_theme_paths,
glib.build_filenamev({ icon_theme_directory,
size, 'categories' }))
end
end
add_if_readable(icon_lookup_path, app_in_theme_paths)