Browse Source

Adjust spacing for compizboxmenu item entries

Add an additional level of spacing for individual menu entries when not
using icons.
pull/8/head
George Vlahavas 9 years ago
parent
commit
83ea7c191c
  1. 2
      src/xdgmenumaker

2
src/xdgmenumaker

@ -635,7 +635,7 @@ def compizboxmenu():
'<command>{}</command></item>').format(spacing, '<command>{}</command></item>').format(spacing,
name, icon, command.replace('&', '&amp;'))) name, icon, command.replace('&', '&amp;')))
else: else:
print(('{}<item type="launcher"><name>{}</name>' print(('{} <item type="launcher"><name>{}</name>'
'<command>{}</command></item>').format(spacing, '<command>{}</command></item>').format(spacing,
name, command.replace('&', '&amp;'))) name, command.replace('&', '&amp;')))
print(spacing + '</menu>') print(spacing + '</menu>')

Loading…
Cancel
Save