Re: [PATCH newui 2/5] Embed network.ui from gnome-control-center

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

 



> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 3fa9196..a04f05c 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -39,6 +39,9 @@ class NetworkSpoke(NormalSpoke):
>  
>      def __init__(self, *args, **kwargs):
>          NormalSpoke.__init__(self, *args, **kwargs)
> +        self.builder.add_from_file("/usr/share/gnome-control-center/ui/network.ui")
> +        parent = self.builder.get_object("networkWindow-actionArea")
> +        self.builder.get_object("vbox1").reparent(parent)
>  
>      def apply(self):
>          pass

I'd prefer if you squashed the other network.ui patch in with this one.
It was a little confusing at first.

- 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