[gnome-control-center] network: Hide UI controls that are not connected up to anything yet
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Hide UI controls that are not connected up to anything yet
- Date: Thu, 10 Mar 2011 14:55:11 +0000 (UTC)
commit 8fd8cb5d518f4824148a55fd00ac2fdba4d2b050
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 10 14:54:23 2011 +0000
network: Hide UI controls that are not connected up to anything yet
panels/network/cc-network-panel.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 4a31c1c..3831afc 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1412,6 +1412,14 @@ cc_network_panel_init (CcNetworkPanel *panel)
"notebook_types"));
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (widget), FALSE);
+ /* hide stuff that doesn't work yet */
+ widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
+ "devices_toolbar"));
+ gtk_widget_hide (widget);
+ widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
+ "button_unlock"));
+ gtk_widget_hide (widget);
+
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
"vbox1"));
gtk_widget_reparent (widget, (GtkWidget *) panel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]