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

@@ -302,9 +302,10 @@ class DisplayState(gen.utils.GrampsDBCallback):
}
def __init__(self, window, status, progress, warnbtn, uimanager,
progress_monitor):
progress_monitor, viewmanager=None):
self.busy = False
self.viewmanager = viewmanager
self.uimanager = uimanager
self.progress_monitor = progress_monitor
self.window = window