summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/lib/accordion.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2013-02-26 16:00:49 -0500
committerChris Lumens <clumens@redhat.com>2013-02-28 14:24:17 -0500
commit714b954248b54a7aabf36d4579d3b90b6f2f9113 (patch)
tree69ccca5dce1f57e5fdea88e71e8c8648dd1af79d /pyanaconda/ui/gui/spokes/lib/accordion.py
parent671ea1b4a9c96cb97cda2b2687e9fa5c5a15cf44 (diff)
downloadanaconda-714b954248b54a7aabf36d4579d3b90b6f2f9113.tar.gz
anaconda-714b954248b54a7aabf36d4579d3b90b6f2f9113.tar.xz
anaconda-714b954248b54a7aabf36d4579d3b90b6f2f9113.zip
Allow more than one Page to be expanded at a time.
This should help a little bit with the confusion people have where it looks like filesystems are vanishing, when instead they are just moving to under a different root. However, note that anything calling _do_refresh will cause everything to be closed except the current page. I do not yet see a way around that.
Diffstat (limited to 'pyanaconda/ui/gui/spokes/lib/accordion.py')
-rw-r--r--pyanaconda/ui/gui/spokes/lib/accordion.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
index e70bbe70a..19af52036 100644
--- a/pyanaconda/ui/gui/spokes/lib/accordion.py
+++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
@@ -158,15 +158,6 @@ class Accordion(Gtk.Box):
self._expanders = []
def _onExpanded(self, obj, cb=None):
- # Set all other expanders to closed, but don't do anything to the
- # expander this method was called on. It's already been handled by
- # the default activate signal handler.
- for expander in self._expanders:
- if expander == obj:
- continue
-
- expander.set_expanded(False)
-
if cb:
cb(obj.get_child())