FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 01-25-2010, 12:03 PM
Martin Sivak
 
Default Filter UI: give BIOS RAID sets a usable model string and display that

I do not know this area that much, but if you have tested it, I'm OK with this. Martin

----- "Hans de Goede" <hdegoede@redhat.com> wrote:

> 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@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

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

Thread Tools




All times are GMT. The time now is 11:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org