summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-28 20:23:46 +0000
committerChris Lumens <clumens@redhat.com>2006-07-28 20:23:46 +0000
commit3a57bb51acd82bf84dab742f77193a6fb55e5757 (patch)
treeab32fb1bea02f9534a6ff0235eab223baac660a6 /anaconda
parentfa79bcd5e278c3be8c3c30ccb009f5c62bf2a9f1 (diff)
downloadanaconda-3a57bb51acd82bf84dab742f77193a6fb55e5757.tar.gz
anaconda-3a57bb51acd82bf84dab742f77193a6fb55e5757.tar.xz
anaconda-3a57bb51acd82bf84dab742f77193a6fb55e5757.zip
Don't need that import anymore.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda15
1 files changed, 1 insertions, 14 deletions
diff --git a/anaconda b/anaconda
index 50bd7f9e7..dfbd01342 100755
--- a/anaconda
+++ b/anaconda
@@ -741,7 +741,6 @@ if __name__ == "__main__":
if not opts.isHeadless:
try:
- import xf86config
import xsetup
import rhpxl.xhwstate
import rhpxl.xserver
@@ -819,19 +818,7 @@ if __name__ == "__main__":
try:
xserver.generateConfig()
-
- # Add our own screen section so we make sure to start up at the
- # resolution (this is more needed to fix font sizes).
- screen = xf86config.XF86ConfScreen()
- xserver.config.screen.insert(screen)
- screen.identifier = "Anaconda"
- screen.device = "Videocard0"
- screen.defaultdepth = 16
-
- display = xf86config.XF86ConfDisplay()
- screen.display.insert(display)
- display.modes.insert(xf86config.XF86Mode(xserver.resolution))
-
+ xserver.addExtraScreen("Anaconda")
xserver.display = ":7"
xserver.serverflags.extend(["-screen", "Anaconda"])
xserver.startX(xStartedCB=doStartupX11Actions, useFB=opts.useFBX)