Fixed bookmarks with quotes not opening properly

This commit is contained in:
Clement Lefebvre 2014-11-08 13:41:22 +01:00
parent 71ebdf8b8b
commit e5681fe6ca

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 \"%s\" &" % path)
else: else:
os.system("xdg-open %s &" % path) os.system("xdg-open \"%s\" &" % path)
def trashPopup( self, widget, event ): def trashPopup( self, widget, event ):
if event.button == 3: if event.button == 3: