[PATCH 10/16] Remove some extra calls to show_first_mountpoint.

David Lehman dlehman at redhat.com
Thu Oct 11 23:46:00 UTC 2012


It already gets called from _do_refresh and multiple calls to
save_right_side are both wasteful and potentially dangerous.
---
 pyanaconda/ui/gui/spokes/custom.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 53cf302..6f70bb6 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1749,7 +1749,6 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         self._unused_devices = None     # why do we cache this?
         self._do_refresh()
         self._updateSpaceDisplay()
-        self._show_first_mountpoint()
 
     def on_summary_clicked(self, button):
         dialog = SelectedDisksDialog(self.data)
@@ -1874,10 +1873,6 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         log.debug("updating space display")
         self._updateSpaceDisplay()
         log.debug("finished updating space display")
-        self._accordion.expandPage(new_install_name)
-
-        # And then display the first filesystem on the RHS.
-        self._show_first_mountpoint()
 
     def on_fs_type_changed(self, combo):
         if not self._initialized:
-- 
1.7.7.6



More information about the anaconda-patches mailing list