Inverted name and path labels in edit places dialog in preferences

This commit is contained in:
Clement Lefebvre 2009-11-19 16:08:28 +00:00
parent 506df64cdf
commit 5c7d1389e9
2 changed files with 10 additions and 4 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (4.8.9) helena; urgency=low
* Inverted labels between name and path in the edit places dialog in preferences
-- Clement Lefebvre <root@linuxmint.com> Thu, 19 Nov 2009 16:07:00 +0000
mintmenu (4.8.8) helena; urgency=low mintmenu (4.8.8) helena; urgency=low
* Reinstated calls to mouse grabs (needed to hide the menu when desktop is clicked) and added a call to hide_window (found in USP) * Reinstated calls to mouse grabs (needed to hide the menu when desktop is clicked) and added a call to hide_window (found in USP)

View File

@ -325,8 +325,8 @@ class mintMenuConfig( object ):
def newPlace(self, newButton): def newPlace(self, newButton):
gladefile = os.path.join( self.path, "mintMenuConfig.glade" ) gladefile = os.path.join( self.path, "mintMenuConfig.glade" )
wTree = gtk.glade.XML( gladefile, "editPlaceDialog" ) wTree = gtk.glade.XML( gladefile, "editPlaceDialog" )
wTree.get_widget("label1").set_text(_("Name:")) wTree.get_widget("label2").set_text(_("Name:"))
wTree.get_widget("label2").set_text(_("Path:")) wTree.get_widget("label1").set_text(_("Path:"))
folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" ) folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" )
newPlaceDialog = wTree.get_widget( "editPlaceDialog" ) newPlaceDialog = wTree.get_widget( "editPlaceDialog" )
folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" ) folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" )
@ -359,8 +359,8 @@ class mintMenuConfig( object ):
def editPlace(self, editButton): def editPlace(self, editButton):
gladefile = os.path.join( self.path, "mintMenuConfig.glade" ) gladefile = os.path.join( self.path, "mintMenuConfig.glade" )
wTree = gtk.glade.XML( gladefile, "editPlaceDialog" ) wTree = gtk.glade.XML( gladefile, "editPlaceDialog" )
wTree.get_widget("label1").set_text(_("Name:")) wTree.get_widget("label2").set_text(_("Name:"))
wTree.get_widget("label2").set_text(_("Path:")) wTree.get_widget("label1").set_text(_("Path:"))
folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" ) folderChooserTree = gtk.glade.XML( gladefile, "fileChooserDialog" )
editPlaceDialog = wTree.get_widget( "editPlaceDialog" ) editPlaceDialog = wTree.get_widget( "editPlaceDialog" )
folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" ) folderChooserDialog = folderChooserTree.get_widget( "fileChooserDialog" )