summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-03-11 15:47:39 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-03-11 15:47:39 -1000
commit8c0926f28ced0407a0fb5834c295d1b6be952904 (patch)
tree5a38653419849bcaf603840dc3f548f5581ff0a2 /gui.py
parent2a19669fd27954a72a8b008ab1f2f4397e6f4b8f (diff)
downloadanaconda-8c0926f28ced0407a0fb5834c295d1b6be952904.tar.gz
anaconda-8c0926f28ced0407a0fb5834c295d1b6be952904.tar.xz
anaconda-8c0926f28ced0407a0fb5834c295d1b6be952904.zip
Focus root password entry box (#436885).
Make sure the root password entry box has the focus when we get to the root password screen. Remove the reference to root-password.png in the glade file to avoid libglade warnings on the console. Try to see if we can get Enter keypresses from the confirm password entry box to trigger the Next button. It's not working for me, but my keyboard is acting up with the latest kernel.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 492b4a004..b39ae3d2d 100755
--- a/gui.py
+++ b/gui.py
@@ -1357,6 +1357,8 @@ class InstallControlWindow:
if ics.getGrabNext():
self.mainxml.get_widget("nextButton").grab_focus()
+ self.mainxml.get_widget("nextButton").set_flags(gtk.HAS_DEFAULT)
+
def __init__ (self, anaconda):
self.reloadRcQueued = 0
self.currentWindow = None