[master] Refresh environment addons on source change (#1033749)

Samantha N. Bueno sbueno+anaconda at redhat.com
Thu Dec 12 20:26:54 UTC 2013


Ack.

On Thu, Dec 12, 2013 at 12:07:03PM -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> ---
>  pyanaconda/ui/gui/spokes/software.py | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
> index 6c76abc..e46be2f 100644
> --- a/pyanaconda/ui/gui/spokes/software.py
> +++ b/pyanaconda/ui/gui/spokes/software.py
> @@ -329,6 +329,11 @@ class SoftwareSelectionSpoke(NormalSpoke):
>  
>      def refreshAddons(self):
>          self._addonStore.clear()
> +
> +        # The source was changed, make sure the list is current
> +        if not self.txid_valid:
> +            self._parseEnvironments()
> +
>          if self.environment and (self.environment in self._environmentAddons):
>              # We have two lists:  One of addons specific to this environment,
>              # and one of all the others.  The environment-specific ones will be displayed
> -- 
> 1.8.3.1
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list