[PATCH 2/4] Focus default advanced storage type in add dialog (#603726)

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

 



In the Add Storage dialog, make sure the default selection is not only
selected, but also has the keyboard focus.
---
 iw/advanced_storage.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/iw/advanced_storage.py b/iw/advanced_storage.py
index b41166b..79af83c 100644
--- a/iw/advanced_storage.py
+++ b/iw/advanced_storage.py
@@ -225,6 +225,7 @@ def addDrive(anaconda):
     for button in group:
         if button is not None and button.get_property("sensitive"):
             button.set_active(True)
+            button.grab_focus()
             break
 
     rc = dialog.run()
-- 
1.7.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