2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>

* TODO: update
	* src/DisplayTabs/_EventEmbedList.py: catch managed window crash



svn: r9324
This commit is contained in:
Benny Malengier 2007-11-09 11:51:57 +00:00
parent 4e9f909083
commit 6e329879a4
3 changed files with 27 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>
* TODO: update
* src/DisplayTabs/_EventEmbedList.py: catch managed window crash
2007-11-08 Stéphane Charette <stephanecharette@gmail.com> 2007-11-08 Stéphane Charette <stephanecharette@gmail.com>
* src/DataViews/_RelationView.py: issue #1352 * src/DataViews/_RelationView.py: issue #1352
* src/GrampsWidgets.py: issue #1352, include all siblings in * src/GrampsWidgets.py: issue #1352, include all siblings in

9
TODO
View File

@ -1,4 +1,4 @@
* Remove GCONF, provide up grade path * Remove GCONF, provide up grade path - IN PROGRESS
* Replace the LPRDoc interface (based on gnome-print) with a GTK based * Replace the LPRDoc interface (based on gnome-print) with a GTK based
print routine. This would remove one of the last gnome-specific print routine. This would remove one of the last gnome-specific
@ -17,6 +17,11 @@
* before release: fix command line options * before release: fix command line options
* remove critical bugs:
- #1053 - DONE (testing of LDS privacy needed!!)
- #1318, wrong note backreferences
- #1208, relative path, see bug note for agreed solution
* before release on multiple notes: * before release on multiple notes:
--> in note view: only show orphaned notes (notes are NOT in remove --> in note view: only show orphaned notes (notes are NOT in remove
orphaned notes tool which is what we want ) orphaned notes tool which is what we want )
@ -42,6 +47,8 @@
* Remove import of global var in __init__.py, use functions or don't export. Eg. * Remove import of global var in __init__.py, use functions or don't export. Eg.
PluginUtils/__init__.py export of plugin lists (tool_list, ...). E PluginUtils/__init__.py export of plugin lists (tool_list, ...). E
* Add forward/backward buttons (and active object) on all object views, not only person views.
* Split views * Split views
* Export to spreadsheet, print, CSV of views - DONE * Export to spreadsheet, print, CSV of views - DONE

View File

@ -148,8 +148,8 @@ class EventEmbedList(EmbeddedList):
def _handle_drag(self, row, obj): def _handle_drag(self, row, obj):
""" """
And event reference that is from a drag and drop has An event reference that is from a drag and drop has
an unknown event reference type an unknown event reference role
""" """
from gen.lib import EventRoleType from gen.lib import EventRoleType
@ -157,9 +157,19 @@ class EventEmbedList(EmbeddedList):
EmbeddedList._handle_drag(self, row, obj) EmbeddedList._handle_drag(self, row, obj)
event = self.dbstate.db.get_event_from_handle(obj.ref) event = self.dbstate.db.get_event_from_handle(obj.ref)
self.get_ref_editor()( try:
self.dbstate, self.uistate, self.track, self.get_ref_editor()(self.dbstate, self.uistate, self.track,
event, obj, self.object_edited) event, obj, self.object_edited)
except Errors.WindowActiveError:
from QuestionDialog import WarningDialog
WarningDialog(
_("Cannot edit this reference"),
_("This event reference cannot be edited at this time. "
"Either the associated event is already being edited "
"or another event reference that is associated with "
"the same event is being edited.\n\nTo edit this event "
"reference, you need to close the event.")
)
def handle_extra_type(self, objtype, obj): def handle_extra_type(self, objtype, obj):
try: try: