summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-17 23:53:28 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 14:07:29 -0500
commitd2fbd3be94d015fd3133d32c69137b10fd7d7e8f (patch)
tree63a935aac16cbb85c6fb3069ad92cb6eaa5dd645 /gui.py
parentff60efad5c439e68c093037ae75619f876255ffe (diff)
downloadanaconda-d2fbd3be94d015fd3133d32c69137b10fd7d7e8f.tar.gz
anaconda-d2fbd3be94d015fd3133d32c69137b10fd7d7e8f.tar.xz
anaconda-d2fbd3be94d015fd3133d32c69137b10fd7d7e8f.zip
Finally remove the x_already_set hack.
I believe this was primarily needed for test mode (which we no longer have), and more recently live installs (which we have a flag to test for). Therefore, there's no reason to maintain this hack too.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 2ba0905c5..d50babfcc 100755
--- a/gui.py
+++ b/gui.py
@@ -1250,8 +1250,7 @@ class InstallInterface:
def run(self, anaconda):
self.anaconda = anaconda
- # XXX x_already_set is a hack
- if anaconda.id.keyboard and not anaconda.id.x_already_set:
+ if anaconda.id.keyboard and not flags.livecdInstall:
anaconda.id.keyboard.activate()
self.icw = InstallControlWindow (self.anaconda)