[PATCH 4/7] ui: fix the default choice in the 'advanced storage options' dialog.

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

 



note that the list of buttons in the radio group have them in reverse
order as specified in the glade .xml.
---
 pyanaconda/iw/advanced_storage.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/iw/advanced_storage.py b/pyanaconda/iw/advanced_storage.py
index 2f6b487..130fa18 100644
--- a/pyanaconda/iw/advanced_storage.py
+++ b/pyanaconda/iw/advanced_storage.py
@@ -222,9 +222,9 @@ def addDrive(anaconda):
         dxml.get_widget("fcoeRadio").set_sensitive(False)
         dxml.get_widget("fcoeRadio").set_active(False)
 
-    #figure out what advanced devices we have available and set sensible default
+    #figure out what advanced devices we have available and put focus on the first one
     group = dxml.get_widget("iscsiRadio").get_group()
-    for button in group:
+    for button in reversed(group):
         if button is not None and button.get_property("sensitive"):
             button.set_active(True)
             button.grab_focus()
-- 
1.7.1.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