diff --git a/xdg-menu b/xdg-menu index 0a8c1bc..f551adb 100644 --- a/xdg-menu +++ b/xdg-menu @@ -29,7 +29,8 @@ def walk_menu(entry): map(walk_menu, entry.get_contents()) print '' elif entry.get_type() == gmenu.TYPE_ENTRY and not entry.is_excluded: - print ' ' % escape(entry.get_name()) + print ' ' % \ + escape(entry.get_name().replace('"', '')) command = re.sub(' [^ ]*%[fFuUdDnNickvm]', '', entry.get_exec()) if entry.launch_in_terminal: command = 'xterm -title "%s" -e %s' % \