summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-06-20 12:29:32 -0500
committerDavid Lehman <dlehman@redhat.com>2012-06-20 12:29:32 -0500
commit0bb4a67ca370da584774df072b259491cfb3e832 (patch)
tree448d2e5f3b87a09ebf17253caccb3655c4f8e83e
parent08728a078a9e14c9c8fcff64161d6f64b6fe1d0c (diff)
Don't give focus to the first DiskOverview as that makes it look selected.
-rw-r--r--pyanaconda/ui/gui/spokes/storage.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index a4c74f890..37aa1e30f 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()