[gnome-control-center] network: don't just select device once



commit 33627f1ae804daea47f733c7cc2f24cb2fedce30
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Feb 2 02:04:25 2011 -0500

    network: don't just select device once

 panels/network/cc-network-panel.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index e8b8205..cf04afb 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -294,12 +294,6 @@ select_first_device (CcNetworkPanel *panel)
         GtkTreePath *path;
         GtkWidget *widget;
         GtkTreeSelection *selection;
-        static gboolean once = FALSE;
-
-        if (once)
-                return;
-
-        once = TRUE;
 
         widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
                                                      "treeview_devices"));



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