Correctly open GTK bookmarks with apostrophes in dir names

This commit is contained in:
monsta 2014-08-25 14:42:38 +04:00
parent 8a73b0998e
commit b8683966e0

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: