[PATCH 2/4] Don't give focus to the first DiskOverview as that makes it look selected.

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

 



---
 pyanaconda/ui/gui/spokes/storage.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index a4c74f8..37aa1e3 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -360,7 +360,6 @@ class StorageSpoke(NormalSpoke):
 
         with gdk_threaded():
             # properties: kind, description, capacity, os, popup-info
-            first = True
             for disk in self.disks:
                 if disk.removable:
                     kind = "drive-removable-media"
@@ -383,9 +382,6 @@ class StorageSpoke(NormalSpoke):
                 overview.connect("button-press-event", self._on_disk_clicked)
                 overview.connect("key-release-event", self._on_disk_clicked)
                 overview.show_all()
-                if first:
-                    overview.grab_focus()
-                    first = False
 
             self._update_summary()
 
-- 
1.7.7.6

_______________________________________________
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