summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 11:53:09 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:07:20 -0500
commit7959758242dfbed72be1376daeecb2132a1b5f23 (patch)
tree31b9bf4151ebb4f7e49ed66bc18c4bf87de5e018 /anaconda
parente5998dbf0c6627668d09851401a681025743f4ca (diff)
downloadanaconda-7959758242dfbed72be1376daeecb2132a1b5f23.tar.gz
anaconda-7959758242dfbed72be1376daeecb2132a1b5f23.tar.xz
anaconda-7959758242dfbed72be1376daeecb2132a1b5f23.zip
Move desktop to the Anaconda object.
This is also the last thing in InstallData.write, so it can go away too.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda7
1 files changed, 3 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index ac3faae3f..382e0a909 100755
--- a/anaconda
+++ b/anaconda
@@ -440,6 +440,7 @@ class Anaconda(object):
def __init__(self):
self._backend = None
self.canReIPL = False
+ self.desktop = desktop.Desktop()
self.dir = None
self.dispatch = dispatch.Dispatcher(self)
self.displayMode = None
@@ -637,6 +638,7 @@ class Anaconda(object):
self.timezone.write(self.rootPath)
self.network.write(instPath=self.rootPath, anaconda=self)
+ self.desktop.write(self.rootPath)
self.users.write(self.rootPath)
self.security.write(self.rootPath)
self.firewall.write(self.rootPath)
@@ -660,9 +662,6 @@ class Anaconda(object):
self.users.write(self.rootPath)
self.security.write(self.rootPath)
- # XXX: This is temporary until instdata goes away completely.
- self.id.write()
-
def writeKS(self, filename):
import urllib
from pykickstart.version import versionToString, DEVEL
@@ -761,7 +760,7 @@ if __name__ == "__main__":
setupPythonUpdates()
import signal, string, isys, iutil, time
- import dispatch
+ import desktop, dispatch
import warnings
import vnc
import firewall, users, security