Edit/New Place Dialogs now have titles

This commit is contained in:
clhodapp 2009-09-06 21:54:45 -05:00
parent 0294a20d5c
commit a3cac14c8c

View File

@ -264,6 +264,7 @@ class mintMenuConfig( object ):
return
def newPlace(self, newButton):
self.editPlaceDialog.set_title("New Place")
self.editPlaceName.set_text("")
self.editPlacePath.set_text("")
response = self.editPlaceDialog.run()
@ -275,6 +276,7 @@ class mintMenuConfig( object ):
self.updatePlacesGconf()
def editPlace(self, editButton):
self.editPlaceDialog.set_title("Edit Place")
treeselection = self.customplacestree.get_selection()
currentiter = (treeselection.get_selected())[1]