remove double quotes from menu labels (#630109)

epel9
Den 15 years ago committed by Miroslav Lichvar
parent 1f99e84e70
commit 4c7b3d47c8

@ -29,7 +29,8 @@ def walk_menu(entry):
map(walk_menu, entry.get_contents())
print '</menu>'
elif entry.get_type() == gmenu.TYPE_ENTRY and not entry.is_excluded:
print ' <item label="%s">' % escape(entry.get_name())
print ' <item label="%s">' % \
escape(entry.get_name().replace('"', ''))
command = re.sub(' [^ ]*%[fFuUdDnNickvm]', '', entry.get_exec())
if entry.launch_in_terminal:
command = 'xterm -title "%s" -e %s' % \

Loading…
Cancel
Save