From 0e6dbf10d7a3553e767f52a8b18ca7e5a540d3d1 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Tue, 8 Sep 2015 12:54:30 +0300 Subject: [PATCH] Strip icon name for compizboxmenu This fixes cases when the icon extension would be kept and the icon would not display in the menu. --- src/xdgmenumaker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index a17bdad..f529b4b 100755 --- a/src/xdgmenumaker +++ b/src/xdgmenumaker @@ -266,6 +266,8 @@ def get_entry_info(desktopfile, ico_paths=True): icon = de.getIcon() if ico_paths: icon = icon_full_path(icon) + else: + icon = icon_strip(icon) else: icon = None