From f54a55b4f4f4132452835a87ed5e502a82e014ab Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Sat, 5 Nov 2016 14:10:35 +0200 Subject: [PATCH] Return the actual full path to the icon When no max icon size is requested, always return the full path to the icon, instead of returning None. --- src/xdgmenumaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index 2301813..1b25524 100755 --- a/src/xdgmenumaker +++ b/src/xdgmenumaker @@ -295,7 +295,7 @@ def icon_full_path(icon): if max_icon_size: return icon_max_size(icon) else: - return None + return icon else: icon = icon_strip(icon) icon_theme = gtk.icon_theme_get_default()