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



commit 7e6dcb445a608c96265e1fb8688b6bf149c6bceb
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

 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 ad6995c..30fe526 100644
--- a/src/connection-editor/page-bridge.c
+++ b/src/connection-editor/page-bridge.c
@@ -120,6 +120,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]