* 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 4b8208ead1
commit 24a2f68930
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>
* Makefile.am: Disable install, show warning instead.
* 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)
def close_node(self,node):
import traceback
traceback.print_stack()
item = self.get_item_from_node(node)
self.close_item_recursively(item)
self.remove_node(node)
@ -295,8 +297,8 @@ class DisplayState(GrampsDBCallback.GrampsDBCallback):
if GrampsKeys.get_statusbar() <= 1:
pname = NameDisplay.displayer.display(self.dbstate.active)
name = "[%s] %s" % (self.dbstate.active.get_gramps_id(),pname)
else:
name = self.display_relationship()
# else:
# name = self.display_relationship()
self.status.push(self.status_id,name)
while gtk.events_pending():