[PATCH 2/2] Set Create Storage focus to first active radio button (#582676)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resolves: rhbz#582676
---
 iw/partition_gui.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index c64c9d8..76b4f2b 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()
-- 
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux