diff options
| author | Chris Lumens <clumens@redhat.com> | 2013-01-29 13:41:10 -0500 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2013-01-31 09:56:12 -0500 |
| commit | 1821378de1aecbbf5806edcad34ee928f0892296 (patch) | |
| tree | 9784a49532d15a0d8c68fa80c53fcb9db07cf9cc /widgets/python | |
| parent | 9a5f23ceb24a78f23aa89c2d618222eb45f968aa (diff) | |
| download | anaconda-1821378de1aecbbf5806edcad34ee928f0892296.tar.gz anaconda-1821378de1aecbbf5806edcad34ee928f0892296.tar.xz anaconda-1821378de1aecbbf5806edcad34ee928f0892296.zip | |
Add device node name information to the storage spoke and disk cart (#902617).
Diffstat (limited to 'widgets/python')
| -rw-r--r-- | widgets/python/AnacondaWidgets.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/widgets/python/AnacondaWidgets.py b/widgets/python/AnacondaWidgets.py index 4029b6963..edb9f358e 100644 --- a/widgets/python/AnacondaWidgets.py +++ b/widgets/python/AnacondaWidgets.py @@ -63,14 +63,12 @@ SpokeSelector = override(SpokeSelector) __all__.append('SpokeSelector') class DiskOverview(Anaconda.DiskOverview): - def __init__(self, description, kind, capacity, os=None, popup=None): + def __init__(self, description, kind, capacity, name, popup=None): Anaconda.DiskOverview.__init__(self) self.set_property("description", description) self.set_property("kind", kind) self.set_property("capacity", capacity) - - if os: - self.set_property("os", os) + self.set_property("name", name) if popup: self.set_property("popup-info", popup) |
