From 1821378de1aecbbf5806edcad34ee928f0892296 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 29 Jan 2013 13:41:10 -0500 Subject: Add device node name information to the storage spoke and disk cart (#902617). --- widgets/python/AnacondaWidgets.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'widgets/python') 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) -- cgit