Add an instance variable to the anaconda object of displayMode so that callbacks implemented in the backend can tell what the current displayMode is. Elliot -- Elliot Peele rPath, Inc. elliot@xxxxxxxxx 919.851.3984 2117
diff -r a0941259192c -r fd3439e8ba92 anaconda --- a/anaconda Mon Mar 05 23:14:10 2007 -0500 +++ b/anaconda Mon Mar 05 23:14:51 2007 -0500 @@ -493,6 +493,7 @@ class Anaconda: self.rescue_mount = True self.rescue = False self.updateSrc = None + self.displayMode = None def setDispatch(self): self.dispatch = dispatch.Dispatcher(self) @@ -526,6 +527,7 @@ class Anaconda: if display_mode == 'c': from cmdline import InstallInterface + self.displayMode = display_mode self.intf = InstallInterface() def setMethod(self, instClass):