summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2010-04-20 16:33:52 -0700
committerBrian C. Lane <bcl@redhat.com>2010-04-21 09:46:09 -0700
commit15c81203b2bd77879e43dc88e3c4924c11017b33 (patch)
treec14fffc422d96704d14164f06e33751bc984226a /iw
parent88900f8888b53a5fb7aa17004a0a3c8933e1bb3b (diff)
downloadanaconda-15c81203b2bd77879e43dc88e3c4924c11017b33.tar.gz
anaconda-15c81203b2bd77879e43dc88e3c4924c11017b33.tar.xz
anaconda-15c81203b2bd77879e43dc88e3c4924c11017b33.zip
Set Create Storage focus to first active radio button (#582676)
Resolves: rhbz#582676
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index e50406d76..a15a41b48 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1439,12 +1439,16 @@ class PartitionWindow(InstallWindow):
# How can I get sensitivity from gtk.radiobutton?
if activate_create_partition:
sp_rb.set_active(True)
+ sp_rb.grab_focus()
elif activate_create_vg:
vg_rb.set_active(True)
+ vg_rb.grab_focus()
elif activate_create_raid_dev:
rd_rb.set_active(True)
+ rd_rb.grab_focus()
elif activate_create_raid_clone:
rc_rb.set_active(True)
+ rc_rb.grab_focus()
gui.addFrame(self.dialog)
self.dialog.show_all()