[PATCH 3/3] Don't call _update_summary from within _add_disk_overview.

Chris Lumens clumens at redhat.com
Tue May 21 18:54:05 UTC 2013


It's called after all the overviews are added, and there's no reason to call
it for each one individually.
---
 pyanaconda/ui/gui/spokes/storage.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 9cb4df8..af2a676 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -639,8 +639,6 @@ class StorageSpoke(NormalSpoke, StorageChecker):
         overview.connect("focus-in-event", self._on_disk_focus_in)
         overview.show_all()
 
-        self._update_summary()
-
     def _initialize(self):
         hubQ.send_message(self.__class__.__name__, _("Probing storage..."))
 
-- 
1.8.1.2



More information about the anaconda-patches mailing list