[gnome-control-center] Network: fix an oversight in visibility handling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Network: fix an oversight in visibility handling
- Date: Wed, 16 Mar 2011 00:13:30 +0000 (UTC)
commit 069c35d84e274255659c22e9d20aaa8f914c855b
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 15 20:12:02 2011 -0400
Network: fix an oversight in visibility handling
The last change made the VPN header invisible by accident.
panels/network/cc-network-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index efd6543..680df8a 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1192,11 +1192,11 @@ nm_device_refresh_vpn_ui (CcNetworkPanel *panel, NetVpn *vpn)
/* show the header */
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
"hbox_device_header"));
- gtk_widget_set_visible (widget, FALSE);
+ gtk_widget_set_visible (widget, TRUE);
sw = GTK_WIDGET (gtk_builder_get_object (priv->builder,
"device_off_switch"));
- gtk_widget_set_visible (sw, TRUE);
+ gtk_widget_set_visible (sw, FALSE);
/* use proxy note page */
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]