Fixed: spaces in custom places and/or desktop directory
This commit is contained in:
parent
a000ed1a2a
commit
6d6114d344
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
mintmenu (4.9.3) helena; urgency=low
|
||||||
|
|
||||||
* Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730
|
* Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730
|
||||||
|
@ -176,7 +176,7 @@ class pluginclass( object ):
|
|||||||
except Exception, detail:
|
except Exception, detail:
|
||||||
print detail
|
print detail
|
||||||
Button4 = easyButton( "gnome-fs-desktop", self.iconsize, [_("Desktop")], -1, -1 )
|
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()
|
Button4.show()
|
||||||
self.placesBtnHolder.pack_start( Button4, False, False )
|
self.placesBtnHolder.pack_start( Button4, False, False )
|
||||||
self.mintMenuWin.setTooltip( Button4, _("Browse items placed on the desktop") )
|
self.mintMenuWin.setTooltip( Button4, _("Browse items placed on the desktop") )
|
||||||
@ -192,7 +192,7 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
def do_custom_places( self ):
|
def do_custom_places( self ):
|
||||||
for index in range( len(self.custompaths) ):
|
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 = easyButton( "folder", self.iconsize, [self.customnames[index]], -1, -1 )
|
||||||
currentbutton.connect( "clicked", self.ButtonClicked, command )
|
currentbutton.connect( "clicked", self.ButtonClicked, command )
|
||||||
currentbutton.show()
|
currentbutton.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user