[Backports] Correctly open GTK bookmarks with apostrophes in dir names

This commit is contained in:
monsta 2014-08-25 14:45:18 +04:00
parent d977c73223
commit 9fee250c18

View File

@ -252,9 +252,9 @@ class pluginclass( object ):
def launch_gtk_bookmark (self, widget, path): def launch_gtk_bookmark (self, widget, path):
self.mintMenuWin.hide() self.mintMenuWin.hide()
if self.de == "mate": if self.de == "mate":
os.system("caja %s &" % path) os.system("caja \"" + path + "\"")
else: else:
os.system("xdg-open %s &" % path) os.system("xdg-open \"" + path + "\"")
def trashPopup( self, widget, event ): def trashPopup( self, widget, event ):
if event.button == 3: if event.button == 3: