2007-09-08 Don Allingham <don@gramps-project.org>

* src/ViewManager.py: code cleanup
	* src/FontScale.py: code cleanup
	* src/GrampsWidgets.py: code cleanup
	* src/ExportOptions.py: code cleanup
	* src/GrampsDisplay.py: code cleanup
	* src/DateEdit.py: code cleanup
	* src/DbLoader.py: code cleanup



svn: r8951
This commit is contained in:
Don Allingham
2007-09-09 05:24:15 +00:00
parent 651e29ead4
commit 6d9dbfee49
8 changed files with 593 additions and 501 deletions

View File

@@ -264,7 +264,7 @@ class DateEditorDialog(ManagedWindow.ManagedWindow):
if response == gtk.RESPONSE_HELP:
GrampsDisplay.help('adv-dates')
elif response == gtk.RESPONSE_DELETE_EVENT:
return
break
else:
if response == gtk.RESPONSE_OK:
(the_quality, the_modifier, the_calendar,
@@ -277,9 +277,11 @@ class DateEditorDialog(ManagedWindow.ManagedWindow):
value=the_value,
text=the_text)
self.close()
return
def build_menu_names(self, obj):
"""
Define the menu entry for the ManagedWindows
"""
return (_("Date selection"), None)
def build_date_from_ui(self):