Fixed: spaces in custom places and/or desktop directory

This commit is contained in:
Clement Lefebvre 2010-01-03 12:50:16 +00:00
parent a000ed1a2a
commit 6d6114d344
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (4.9.4) helena; urgency=low
* Fixed: spaces in custom places and/or desktop directory
-- Clement Lefebvre <root@linuxmint.com> Sun, 3 Jan 2009 12:50:00 +0000
mintmenu (4.9.3) helena; urgency=low
* Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730

View File

@ -176,7 +176,7 @@ class pluginclass( object ):
except Exception, detail:
print detail
Button4 = easyButton( "gnome-fs-desktop", self.iconsize, [_("Desktop")], -1, -1 )
Button4.connect( "clicked", self.ButtonClicked, "nautilus " + desktopDir )
Button4.connect( "clicked", self.ButtonClicked, "nautilus \"" + desktopDir + "\"")
Button4.show()
self.placesBtnHolder.pack_start( Button4, False, False )
self.mintMenuWin.setTooltip( Button4, _("Browse items placed on the desktop") )
@ -192,7 +192,7 @@ class pluginclass( object ):
def do_custom_places( self ):
for index in range( len(self.custompaths) ):
command = ( "nautilus " + self.custompaths[index] )
command = ( "nautilus \"" + self.custompaths[index] + "\"")
currentbutton = easyButton( "folder", self.iconsize, [self.customnames[index]], -1, -1 )
currentbutton.connect( "clicked", self.ButtonClicked, command )
currentbutton.show()