2008-02-15 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/ViewManager.py (ViewManager.__build_main_window):pass self to DS
	* src/DisplayState.py (DisplayState): added vm param
	DS now has a reference to the VM which allows uistate
	to have access to most of a running GRAMPS application



svn: r10038
This commit is contained in:
Doug Blank
2008-02-15 14:18:55 +00:00
parent 41b16f60d6
commit 131db3ef7e
3 changed files with 9 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class ViewManager:
self.uistate = DisplayState.DisplayState(
self.window, self.statusbar, self.progress, self.warnbtn,
self.uimanager, self.progress_monitor)
self.uimanager, self.progress_monitor, self)
self.state.connect('database-changed', self.uistate.db_changed)