From aa4f1c7ed428bff2df3872061b99be4f7debeab8 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 21 Dec 2005 18:59:51 +0000 Subject: [PATCH] * src/DisplayState.py: remove print statements * src/ViewManger.py: Fix const.app_* svn: r5604 --- gramps2/ChangeLog | 4 ++++ gramps2/src/DisplayState.py | 4 ---- gramps2/src/ViewManager.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index f9e996601..ce36b63df 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-12-21 Don Allingham + * src/DisplayState.py: remove print statements + * src/ViewManger.py: Fix const.app_* + 2005-12-21 Alex Roitman * src/DisplayState.py (remove_item): Add code to adjust other item's tracks after deleting an item; (move_item_down): diff --git a/gramps2/src/DisplayState.py b/gramps2/src/DisplayState.py index a2281690a..2dd7c363a 100644 --- a/gramps2/src/DisplayState.py +++ b/gramps2/src/DisplayState.py @@ -189,8 +189,6 @@ class GrampsWindowManager: def get_item_from_track(self,track): # Recursively find an item given track sequence item = self.window_tree - print "item", item - print "track", track for index in track: item = item[index] return item @@ -271,8 +269,6 @@ class GrampsWindowManager: if item.window_id: self.id2item[item.window_id] = item - print "Adding: Track:", track - # Make sure we have a track parent_item = self.get_item_from_track(track) assert type(parent_item) == list or track == [], \ diff --git a/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index 21d703a29..af08765ac 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/src/ViewManager.py @@ -553,7 +553,7 @@ class ViewManager: self.state.db.close() except: pass - self.state.change_database(GrampsDb.gramps_db_factory(app_gramps)()) + self.state.change_database(GrampsDb.gramps_db_factory(const.app_gramps)()) self.read_file(filename) self.state.db.request_rebuild() self.change_page(None,None)