From 714b954248b54a7aabf36d4579d3b90b6f2f9113 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 26 Feb 2013 16:00:49 -0500 Subject: 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. --- pyanaconda/ui/gui/spokes/lib/accordion.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pyanaconda/ui/gui/spokes/lib/accordion.py') 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()) -- cgit