Browse Source

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.
pull/9/head
George Vlahavas 8 years ago
parent
commit
f54a55b4f4
  1. 2
      src/xdgmenumaker

2
src/xdgmenumaker

@ -295,7 +295,7 @@ def icon_full_path(icon):
if max_icon_size: if max_icon_size:
return icon_max_size(icon) return icon_max_size(icon)
else: else:
return None return icon
else: else:
icon = icon_strip(icon) icon = icon_strip(icon)
icon_theme = gtk.icon_theme_get_default() icon_theme = gtk.icon_theme_get_default()

Loading…
Cancel
Save