[PATCH 5/5] Filter UI: give BIOS RAID sets a usable model string and display that

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This makes the way they are displayed in the filter UI and in
cleardisks_gui.py consistent, and this makes us not show dmraid device
node names for sets which we will later activate with mdraid.
---
 iw/filter_gui.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index 41e9be7..3b6f573 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -420,7 +420,7 @@ class FilterWindow(InstallWindow):
     def _makeRAID(self):
         np = NotebookPage(self.store, "raid", self.xml, RAIDCallbacks(self.xml))
 
-        np.ds.addColumn(_("Device"), DEVICE_COL)
+        np.ds.addColumn(_("Model"), MODEL_COL)
         np.ds.addColumn(_("Capacity"), CAPACITY_COL)
         return np
 
@@ -620,7 +620,8 @@ class FilterWindow(InstallWindow):
             data = {"XXX_SIZE": size, "ID_FS_TYPE": fstype, "DM_NAME": rs.name,
                     "name": rs.name}
 
-            tuple = (data, True, _active(rs.name), rs.name, partedDevice.model,
+            model = "BIOS RAID set (%s)" % rs.rs.set_type
+            tuple = (data, True, _active(rs.name), rs.name, model,
                      str(size) + " MB", "", "", "", "", "", "", "", "")
             _addTuple(tuple)
 
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux