Re: [PATCH] Update Optional packages button via popup menu too (#515912)

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

 



> diff --git a/iw/GroupSelector.py b/iw/GroupSelector.py
> index a8df9fa..504f83d 100644
> --- a/iw/GroupSelector.py
> +++ b/iw/GroupSelector.py
> @@ -528,7 +528,7 @@ class GroupSelector:
>  
>          (model, paths) = selection.get_selected_rows()
>          for p in paths:
> -            self._groupToggled(model, p, True, False)
> +            self._groupToggled(model, p, True, updateText=(len(paths) == 1))
>  
>      def _groupDeselect(self, *args):
>          selection = self.xml.get_widget("groupList").get_selection()
> @@ -537,7 +537,7 @@ class GroupSelector:
>  
>          (model, paths) = selection.get_selected_rows()
>          for p in paths:
> -            self._groupToggled(model, p, False, False)
> +            self._groupToggled(model, p, False, updateText=(len(paths) == 1))
>  
>      def _selectAllPackages(self, *args):
>          selection = self.xml.get_widget("groupList").get_selection()

If tested, this looks okay to me.  You probably want to wait until after
the alpha's gone out, just to make sure though.

- 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