* src/DisplayState.py: remove print statements
* src/ViewManger.py: Fix const.app_* svn: r5604
This commit is contained in:
parent
9258121699
commit
379107f849
@ -1,3 +1,7 @@
|
||||
2005-12-21 Don Allingham <don@gramps-project.org>
|
||||
* src/DisplayState.py: remove print statements
|
||||
* src/ViewManger.py: Fix const.app_*
|
||||
|
||||
2005-12-21 Alex Roitman <shura@gramps-project.org>
|
||||
* src/DisplayState.py (remove_item): Add code to adjust other
|
||||
item's tracks after deleting an item; (move_item_down):
|
||||
|
@ -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 == [], \
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user