[PATCH 2/3] Don't unexpand already-expanded pages when trying to expand them again.
David Lehman
dlehman at redhat.com
Mon Aug 13 17:07:36 UTC 2012
---
pyanaconda/ui/gui/spokes/lib/accordion.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
index 09b87e9..593d4d5 100644
--- a/pyanaconda/ui/gui/spokes/lib/accordion.py
+++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
@@ -74,7 +74,7 @@ class Accordion(Gtk.Box):
def expandPage(self, pageTitle):
page = self._find_by_title(pageTitle)
- if page:
+ if page and not page.get_expanded():
page.emit("activate")
def removePage(self, pageTitle):
--
1.7.7.6
More information about the anaconda-patches
mailing list