From 6d6114d344709faf69e7e78d08672bd2c58d3442 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Sun, 3 Jan 2010 12:50:16 +0000 Subject: [PATCH] Fixed: spaces in custom places and/or desktop directory --- debian/changelog | 6 ++++++ usr/lib/linuxmint/mintMenu/plugins/places.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c8b7bfc..fb61dd8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mintmenu (4.9.4) helena; urgency=low + + * Fixed: spaces in custom places and/or desktop directory + + -- Clement Lefebvre Sun, 3 Jan 2009 12:50:00 +0000 + mintmenu (4.9.3) helena; urgency=low * Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730 diff --git a/usr/lib/linuxmint/mintMenu/plugins/places.py b/usr/lib/linuxmint/mintMenu/plugins/places.py index e0d57d1..2f2a3f7 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/places.py +++ b/usr/lib/linuxmint/mintMenu/plugins/places.py @@ -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()