[network-manager-applet/nma-1-0] editor: disable STP-related widgets if STP is off on init (bgo #724485)



commit b694a1661d1b35cfbd4d45984dcac13a19dbefbd
Author: Jiří Klimeš <jklimes redhat com>
Date:   Fri Apr 24 09:34:15 2015 +0200

    editor: disable STP-related widgets if STP is off on init (bgo #724485)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724485
    
    (cherry picked from commit 7e6dcb445a608c96265e1fb8688b6bf149c6bceb)

 src/connection-editor/page-bridge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/connection-editor/page-bridge.c b/src/connection-editor/page-bridge.c
index 2221e07..1ffcb1f 100644
--- a/src/connection-editor/page-bridge.c
+++ b/src/connection-editor/page-bridge.c
@@ -117,6 +117,7 @@ populate_ui (CEPageBridge *self)
                          self);
        stp = nm_setting_bridge_get_stp (s_bridge);
        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->stp), stp);
+       stp_toggled (GTK_TOGGLE_BUTTON (priv->stp), self);
 
        /* Priority */
        priority = nm_setting_bridge_get_priority (s_bridge);


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