Re: [PATCH - rhel6-branch master] Automatically select devices added via the "Add Advanced" button (#579051).

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/05/2010 06:44 AM, Chris Lumens wrote:
> ---
>  iw/filter_gui.py |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/iw/filter_gui.py b/iw/filter_gui.py
> index a234dc4..6c92ee1 100644
> --- a/iw/filter_gui.py
> +++ b/iw/filter_gui.py
> @@ -432,7 +432,7 @@ class FilterWindow(InstallWindow):
>          mpaths = filter(lambda d: d not in self._cachedMPaths, new_mpaths)
>          raids = filter(lambda d: d not in self._cachedRaidDevices, new_raids)
>  
> -        self.populate(nonraids, mpaths, raids)
> +        self.populate(nonraids, mpaths, raids, activeByDefault=True)
>  
>          # Make sure to update the size label at the bottom.
>          self.pages[0].cb.update()
> @@ -599,7 +599,7 @@ class FilterWindow(InstallWindow):
>  
>          return self.vbox
>  
> -    def populate(self, nonraids, mpaths, raids):
> +    def populate(self, nonraids, mpaths, raids, activeByDefault=False):
>          def _addTuple(tuple):
>              global totalDevices, totalSize
>              global selectedDevices, selectedSize
> @@ -636,7 +636,7 @@ class FilterWindow(InstallWindow):
>              return False
>  
>          def _active(info):
> -            if _isProtected(info):
> +            if _isProtected(info) or activeByDefault:
>                  return True
>  
>              name = udev_device_get_name(info)

Ack.


- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS7oItBF+jBaO/jp/AQK9mwgAg696HzPaqKHtN+cP20LjmVqmzMP6E25p
+Sf/FH/6tg7+w1IAjT4OeqNxzNKlmRLXo/IFepia6IVRWjNvq/ZrDeyTfcKG80ZE
d+OcksjjLfyfSHpkXsWuCri3enj/XeDeYszVCxat3zNxQ9HAr8wDJ4e3CSzOvyGg
u0YQWa7eUq9g5/OhJ1xqi8nPJOZcbpIaupzuRBtv7BAs4TIyNEhQgW+GxyjizINs
yVPxdCzYog9kXFlP8xjbrSw3b7ayI7ufDq+Zgh09WhNxsZQ9sKddIpzQfM21r/MF
jPsbvZFYSb+mrPbZxlSWSVV42OXRPa0mIcfRtCMKndUWCanqHWW0uw==
=nK/0
-----END PGP SIGNATURE-----

_______________________________________________
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