Re: [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]

 



> 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)
>  

If you want to fill in some more of the blanks here, that'd be great
too.  Note that the RAID tab only has two possibilities to display
instead of five or more like the other tabs, and also that we're
sticking a lot less info into the store.

- Chris

_______________________________________________
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