summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/lib/accordion.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2013-02-26 15:57:58 -0500
committerChris Lumens <clumens@redhat.com>2013-02-28 14:24:13 -0500
commit671ea1b4a9c96cb97cda2b2687e9fa5c5a15cf44 (patch)
tree24650c54baa3b85611dfd39bc6bfb5dad33433e3 /pyanaconda/ui/gui/spokes/lib/accordion.py
parent3c78c1a5c23b131f96d1dfdfe6b66faa2e25d55d (diff)
downloadanaconda-671ea1b4a9c96cb97cda2b2687e9fa5c5a15cf44.tar.gz
anaconda-671ea1b4a9c96cb97cda2b2687e9fa5c5a15cf44.tar.xz
anaconda-671ea1b4a9c96cb97cda2b2687e9fa5c5a15cf44.zip
Get rid of the currentPage method.
When multiple pages can be expanded at the same time, the currentPage method doesn't make a lot of sense. Instead, make it a property of the custom spoke and have it depend on the current selector.
Diffstat (limited to 'pyanaconda/ui/gui/spokes/lib/accordion.py')
-rw-r--r--pyanaconda/ui/gui/spokes/lib/accordion.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
index 464febed3..e70bbe70a 100644
--- a/pyanaconda/ui/gui/spokes/lib/accordion.py
+++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
@@ -132,13 +132,6 @@ class Accordion(Gtk.Box):
def allSelectors(self):
return [s for p in self.allPages for s in p.members]
- def currentPage(self):
- for e in self._expanders:
- if e.get_expanded():
- return e.get_child()
-
- return None
-
def expandPage(self, pageTitle):
page = self._find_by_title(pageTitle)
if not page: