Browse Source

Escape closing parentheses in Fluxbox menus

Closing parentheses need to be escaped when generating Fluxbox menus,
otherwise, they are cropped out, along with everything that comes after
them.
pull/1/merge
George Vlahavas 11 years ago
parent
commit
71f4faffd4
  1. 4
      src/xdgmenumaker

4
src/xdgmenumaker

@ -295,7 +295,9 @@ def fluxboxmenu():
else:
print spacing+'[submenu] ('+category+')'
for j in i[1]:
name = j[0]
# closing parentheses need to be escaped, otherwise they are
# cropped out, along with everything that comes after them
name = j[0].replace(')', '\)')
icon = j[1]
command = j[2]
if icon is None:

Loading…
Cancel
Save