* src/DisplayState.py: remove relationship display stuff for the time

being.


svn: r5199
This commit is contained in:
Don Allingham 2005-09-16 18:22:32 +00:00
parent 971a8a29ec
commit 6cd2a0f8a0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-09-16 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: remove relationship display stuff for the time
being.
2005-09-16 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2005-09-16 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* Makefile.am: Disable install, show warning instead. * Makefile.am: Disable install, show warning instead.
* src/PageView.py (button_press): Catch problem with no loaded database * src/PageView.py (button_press): Catch problem with no loaded database

View File

@ -147,6 +147,8 @@ class GrampsWindowManager:
return self.id2item.get(window_id,None) return self.id2item.get(window_id,None)
def close_node(self,node): def close_node(self,node):
import traceback
traceback.print_stack()
item = self.get_item_from_node(node) item = self.get_item_from_node(node)
self.close_item_recursively(item) self.close_item_recursively(item)
self.remove_node(node) self.remove_node(node)
@ -295,8 +297,8 @@ class DisplayState(GrampsDBCallback.GrampsDBCallback):
if GrampsKeys.get_statusbar() <= 1: if GrampsKeys.get_statusbar() <= 1:
pname = NameDisplay.displayer.display(self.dbstate.active) pname = NameDisplay.displayer.display(self.dbstate.active)
name = "[%s] %s" % (self.dbstate.active.get_gramps_id(),pname) name = "[%s] %s" % (self.dbstate.active.get_gramps_id(),pname)
else: # else:
name = self.display_relationship() # name = self.display_relationship()
self.status.push(self.status_id,name) self.status.push(self.status_id,name)
while gtk.events_pending(): while gtk.events_pending():