[PATCH] Could not load UI file advanced_user.glade
Martin Sivak
msivak at redhat.com
Wed Mar 6 09:50:34 UTC 2013
Ack,
I thought for some reason we keep the glade files together with the respective sources and _findUIFile looks there.. unfortunately we do not (/usr/lib/python.. vs. /usr/share/anaconda/ui).
I will push it too.
----- Original Message -----
> Fixes IOError: Could not load UI file 'advanced_user.glade' for
> object
>
> ---
> 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 93b4d08..af39856 100644
> --- a/pyanaconda/ui/gui/spokes/user.py
> +++ b/pyanaconda/ui/gui/spokes/user.py
> @@ -56,7 +56,7 @@ def strip_accents(s):
> class AdvancedUserDialog(GUIObject):
> builderObjects = ["advancedUserDialog", "uid", "gid"]
> mainWidgetName = "advancedUserDialog"
> - uiFile = "advanced_user.glade"
> + uiFile = "spokes/advanced_user.glade"
>
> def __init__(self, user, groupDict, data):
> GUIObject.__init__(self, data)
> --
> 1.8.1.2
>
> _______________________________________________
> 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