[Backports] Correctly open GTK bookmarks with apostrophes in dir names
This commit is contained in:
parent
d977c73223
commit
9fee250c18
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user