summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-04-24 09:34:15 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-04-24 09:38:41 +0200
commit7e6dcb445a608c96265e1fb8688b6bf149c6bceb (patch)
tree2da81e793f03ca29a19f7d290a4a0e7c7bfa8438
parent0ab92c3def1e8cfabcaec65b902aaa96f89badb0 (diff)
downloadnetwork-manager-applet-7e6dcb445a608c96265e1fb8688b6bf149c6bceb.tar.gz
editor: disable STP-related widgets if STP is off on init (bgo #724485)
https://bugzilla.gnome.org/show_bug.cgi?id=724485
-rw-r--r--src/connection-editor/page-bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection-editor/page-bridge.c b/src/connection-editor/page-bridge.c
index ad6995ca..30fe5260 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);