2006-06-17 Don Allingham <don@gramps-project.org>
* src/Selectors/_BaseSelector.py (BaseSelector.run): handle delete event * src/DataViews/_RelationView.py: remove debug statement * src/DataViews/__init__.py: remove map view for time being svn: r6909
This commit is contained in:
parent
6d26de2122
commit
51ae992dab
@ -1,3 +1,9 @@
|
||||
2006-06-17 Don Allingham <don@gramps-project.org>
|
||||
* src/Selectors/_BaseSelector.py (BaseSelector.run): handle
|
||||
delete event
|
||||
* src/DataViews/_RelationView.py: remove debug statement
|
||||
* src/DataViews/__init__.py: remove map view for time being
|
||||
|
||||
2006-06-16 Don Allingham <don@gramps-project.org>
|
||||
* src/DataViews/_RelationView.py: clear all subelements on redraw
|
||||
* src/PageView.py: set dirty flag appropriately
|
||||
|
@ -275,7 +275,6 @@ class RelationshipView(PageView.PersonNavView):
|
||||
return (_(u"Unknown"), "")
|
||||
|
||||
def redraw(self, *obj):
|
||||
print self.dbstate.active
|
||||
if self.dbstate.active:
|
||||
self.handle_history(self.dbstate.active.handle)
|
||||
self.change_person(self.dbstate.active.handle)
|
||||
|
@ -27,10 +27,19 @@ from _EventView import EventView
|
||||
from _SourceView import SourceView
|
||||
from _PlaceView import PlaceView
|
||||
from _MediaView import MediaView
|
||||
from _MapView import MapView
|
||||
#from _MapView import MapView
|
||||
from _RepositoryView import RepositoryView
|
||||
|
||||
def get_views():
|
||||
return [PersonView, RelationshipView, FamilyListView, PedigreeView,
|
||||
EventView, SourceView, PlaceView, MediaView,
|
||||
MapView, RepositoryView]
|
||||
return [
|
||||
PersonView,
|
||||
RelationshipView,
|
||||
FamilyListView,
|
||||
PedigreeView,
|
||||
EventView,
|
||||
SourceView,
|
||||
PlaceView,
|
||||
MediaView,
|
||||
#MapView,
|
||||
RepositoryView
|
||||
]
|
||||
|
@ -114,9 +114,11 @@ class BaseSelector(ManagedWindow.ManagedWindow):
|
||||
else:
|
||||
return_value = None
|
||||
return return_value
|
||||
else:
|
||||
elif val != gtk.RESPONSE_DELETE_EVENT:
|
||||
self.close()
|
||||
return None
|
||||
else:
|
||||
return None
|
||||
|
||||
def _local_init(self):
|
||||
# define selector-specific init routine
|
||||
|
Loading…
Reference in New Issue
Block a user