* src/gramps_main.py (Gramps.__init__): Call ArgHandler between
init_interface and post_init_interface. * src/ViewManager.py (init_interface): Split off post_init_interface. svn: r6732
This commit is contained in:
parent
419128d50d
commit
b50cdad0c2
@ -1,4 +1,7 @@
|
||||
2006-05-20 Alex Roitman <shura@gramps-project.org>
|
||||
* src/gramps_main.py (Gramps.__init__): Call ArgHandler between
|
||||
init_interface and post_init_interface.
|
||||
* src/ViewManager.py (init_interface): Split off post_init_interface.
|
||||
* src/GrampsDb/_ReadGedcom.py: Correct set_type calls.
|
||||
|
||||
2006-05-19 Don Allingham <don@gramps-project.org>
|
||||
|
@ -417,6 +417,7 @@ class ViewManager:
|
||||
self.fileactions.set_sensitive(True)
|
||||
self.uistate.widget.set_sensitive(True)
|
||||
|
||||
def post_init_interface(self):
|
||||
# Showing the main window is deferred so that
|
||||
# ArgHandler can work without it always shown
|
||||
self.window.show()
|
||||
|
@ -177,9 +177,10 @@ class Gramps:
|
||||
for view in DataViews.get_views():
|
||||
self.vm.register_view(view)
|
||||
|
||||
ArgHandler.ArgHandler(state,self.vm,args)
|
||||
|
||||
self.vm.init_interface()
|
||||
ArgHandler.ArgHandler(state,self.vm,args)
|
||||
self.vm.post_init_interface()
|
||||
|
||||
state.db.request_rebuild()
|
||||
state.change_active_person(state.db.get_default_person())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user