From b8683966e0d50ddedb814c5c0161551d55a45513 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 25 Aug 2014 14:42:38 +0400 Subject: [PATCH] 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 e49e696..64dd31a 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: