Hi,

On 15.03.2018 22:58, Hans van den Bogert wrote:
> It is arguable if this patch truly fixes a bug, [...]

Since the gist of the patch seemed to have been lost in the noise, I'll
repeat it here explicitly:

> +diff --git a/lib/menubar/menu_gen.lua b/lib/menubar/menu_gen.lua
> +index 519629c7d4..0be0b6967f 100644
> +--- a/lib/menubar/menu_gen.lua
> ++++ b/lib/menubar/menu_gen.lua
> +@@ -59,7 +58,7 @@ menu_gen.all_categories = {
> + --- Find icons for category entries.
> + function menu_gen.lookup_category_icons()
> +     for _, v in pairs(menu_gen.all_categories) do
> +-        v.icon = icon_theme():find_icon_path(v.icon_name)
> ++        v.icon = utils.lookup_icon(v.icon_name)
> +     end
> + end
> + 
> +
Hans, you can work around this problem in your rc.lua with:

  menubar.menu_gen.lookup_category_icons = function() end

The downside of this would be that you loose category icons. However,
most people do not have category icons and this is exactly the worst
case for the code in question since it tries very, very hard to find
some icons anyway.

Hm, I guess another work around would be to actually install some
category icons... (No, I do not have details on how to do that).

Cheers,
Uli
-- 
A normal person is just someone you don't know well enough yet.
 - Nettie Wiebe

Reply via email to