[PATCH master] network spoke: hide on liveCD, use config tool of live environment (#854586)
Brian C. Lane
bcl at redhat.com
Mon Sep 10 20:37:05 UTC 2012
On Mon, Sep 10, 2012 at 01:33:42PM +0200, Radek Vykydal wrote:
> ---
> pyanaconda/ui/gui/spokes/network.py | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 9a862aa..200e53f 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -34,6 +34,7 @@
>
> from gi.repository import Gtk, AnacondaWidgets
>
> +from pyanaconda.flags import flags
> from pyanaconda.ui.gui import GUIObject
> from pyanaconda.ui.gui.spokes import NormalSpoke, StandaloneSpoke
> from pyanaconda.ui.gui.categories.software import SoftwareCategory
> @@ -957,6 +958,10 @@ class NetworkSpoke(NormalSpoke):
>
> return msg
>
> + @property
> + def showable(self):
> + return not flags.livecdInstall
> +
> def initialize(self):
> NormalSpoke.initialize(self)
> self.network_control_box.initialize()
Should probably include flags.imageInstall as well.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20120910/822ce789/attachment.sig>
More information about the anaconda-patches
mailing list