diff options
author | Chris Lumens <clumens@redhat.com> | 2012-06-06 16:49:12 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-06-06 16:49:12 -0400 |
commit | a3cb223decb134870b4422d804361a3e7366e043 (patch) | |
tree | 5b338d7771dd6e4871b20c5467c6e5d1c296b0b1 | |
parent | 88266576c4600ef6bf7982bdf7631a965c78073e (diff) | |
download | anaconda-a3cb223decb134870b4422d804361a3e7366e043.tar.gz anaconda-a3cb223decb134870b4422d804361a3e7366e043.tar.xz anaconda-a3cb223decb134870b4422d804361a3e7366e043.zip |
Get rid of the currentSelector attribute on a Page.
I still haven't found a need for this, and it's getting confusing with a
current selector here and a separate one in custom.py.
-rw-r--r-- | pyanaconda/ui/gui/spokes/lib/accordion.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py index 2f057131c..cbed95fd7 100644 --- a/pyanaconda/ui/gui/spokes/lib/accordion.py +++ b/pyanaconda/ui/gui/spokes/lib/accordion.py @@ -123,7 +123,6 @@ class Page(Gtk.Box): self.add(self._systemBox) self._members = [] - self._currentSelector = None def _make_category_label(self, name): label = Gtk.Label() @@ -146,9 +145,6 @@ class Page(Gtk.Box): return selector - def currentSelector(self): - return self._currentSelector - def _mountpointType(self, mountpoint): if not mountpoint: # This catches things like swap. @@ -172,7 +168,6 @@ class Page(Gtk.Box): # Then, this callback will set up the right hand side of the screen to # show the details for the newly selected object. - self._currentSelector = selector cb(selector) class UnknownPage(Page): @@ -180,7 +175,6 @@ class UnknownPage(Page): # For this type of page, there's only one place to store members. Gtk.Box.__init__(self, orientation=Gtk.Orientation.VERTICAL, spacing=6) self._members = [] - self._currentSelector = None def addDevice(self, name, size, mountpoint, cb): selector = MountpointSelector() |