2006-06-20 Don Allingham <don@gramps-project.org>

* src/Editors/_EditEvent.py: focus on date on open
	* src/Editors/_EditEventRef.py: focus on date on open
	* src/UndoHistory.py: don't attempt to unregister with the window
	manager, since not registered to begin with



svn: r6926
This commit is contained in:
Don Allingham
2006-06-20 15:01:27 +00:00
parent 03474fa6e5
commit bb9b456824
4 changed files with 19 additions and 6 deletions

View File

@ -143,14 +143,17 @@ class EditEventRef(EditReference):
self.source.get_type,
custom_values=self.get_custom_events())
date_entry = self.top.get_widget("eer_date")
self.date_check = MonitoredDate(
self.top.get_widget("eer_date"),
date_entry,
self.top.get_widget("eer_date_stat"),
self.source.get_date_object(),
self.uistate,
self.track,
self.db.readonly)
date_entry.grab_focus()
def _create_tabbed_pages(self):
"""
Creates the notebook tabs and inserts them into the main