From e8c23bd9e7c021e9b1e4f5ccd50568a9beac3fa6 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 22 Apr 2018 08:03:28 +0200 Subject: [PATCH] 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. --- lib/menubar/utils.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/menubar/utils.lua b/lib/menubar/utils.lua index 83b86490..31bff81a 100644 --- a/lib/menubar/utils.lua +++ b/lib/menubar/utils.lua @@ -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)