summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-08-12 20:52:15 +0000
committerMike Fulbright <msf@redhat.com>2003-08-12 20:52:15 +0000
commit2beb8e4386031450fcb28042b5b81631f23665a5 (patch)
tree6b635ce8eea6f2fbef4fb626ce61737213605d1a /iw
parentb14218ee015622c0f1d89ee345c8f64b1716a59f (diff)
downloadanaconda-2beb8e4386031450fcb28042b5b81631f23665a5.tar.gz
anaconda-2beb8e4386031450fcb28042b5b81631f23665a5.tar.xz
anaconda-2beb8e4386031450fcb28042b5b81631f23665a5.zip
dont force runlevel 5 if we didnt give them a choice - use the default we setup based on package set
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig_gui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 9e4999ccc..ca1d6f5b1 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -69,16 +69,16 @@ class XCustomWindow (InstallWindow):
if ENABLE_DESKTOP_CHOICE:
self.desktop.setDefaultDesktop (self.newDesktop)
+ # if we gave them a choice on login style then store it
+ # otherwise we're just using default setup by
+ # packages.py::handleX11Packages()
if self.instClass.showLoginChoice:
if self.text.get_active ():
rl = 3
elif self.graphical.get_active ():
rl = 5
- else:
- # default to 5 if we didnt give them a choice
- rl = 5
- self.desktop.setDefaultRunLevel(rl)
+ self.desktop.setDefaultRunLevel(rl)
def testPressed (self, widget, *args):