[PATCH] get_widget -> get_object (#927898).

Vratislav Podzimek vpodzime at redhat.com
Tue Mar 26 14:11:40 UTC 2013


On Tue, 2013-03-26 at 10:04 -0400, Chris Lumens wrote:
> ---
>  pyanaconda/ui/gui/spokes/user.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py
> index 5f8a40e..84bcb8f 100644
> --- a/pyanaconda/ui/gui/spokes/user.py
> +++ b/pyanaconda/ui/gui/spokes/user.py
> @@ -111,7 +111,7 @@ class AdvancedUserDialog(GUIObject):
>                  self._user.uid = None
>  
>              if self.builder.get_object("c_gid").get_active():
> -                self._user.gid = int(self.builder.get_widget("gid").get_value())
> +                self._user.gid = int(self.builder.get_object("gid").get_value())
>              else:
>                  self._user.gid = None
>  
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list