Browse Source

Don't use full path for the main menu item

In compizboxmenu, don't use the full path to the "applications" icon in
the main menu item. Compiz boxmenu handles that anyway.
pull/8/head
George Vlahavas 9 years ago
parent
commit
eda148f75f
  1. 7
      src/xdgmenumaker

7
src/xdgmenumaker

@ -607,11 +607,8 @@ def compizboxmenu():
if submenu: if submenu:
spacing = ' ' spacing = ' '
if seticon: if seticon:
app_icon = icon_full_path(applications_icon) app_icon = icon_strip(applications_icon)
if app_icon is None: print('<menu icon="' + app_icon +
print('<menu name="' + applications + '">')
else:
print('<menu icon="' + app_icon +
'" name="' + applications + '">') '" name="' + applications + '">')
else: else:
print('<menu name="' + applications + '">') print('<menu name="' + applications + '">')

Loading…
Cancel
Save