From 9fee250c18d9ae84609f7ec705060e1f3429c846 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 25 Aug 2014 14:45:18 +0400 Subject: [PATCH] [Backports] Correctly open GTK bookmarks with apostrophes in dir names --- usr/lib/linuxmint/mintMenu/plugins/places.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/places.py b/usr/lib/linuxmint/mintMenu/plugins/places.py index c5a55fa..d33cbc7 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/places.py +++ b/usr/lib/linuxmint/mintMenu/plugins/places.py @@ -252,9 +252,9 @@ class pluginclass( object ): def launch_gtk_bookmark (self, widget, path): self.mintMenuWin.hide() if self.de == "mate": - os.system("caja %s &" % path) + os.system("caja \"" + path + "\"") else: - os.system("xdg-open %s &" % path) + os.system("xdg-open \"" + path + "\"") def trashPopup( self, widget, event ): if event.button == 3: