network-manager-applet r1248 - trunk/src/connection-editor



Author: dcbw
Date: Sat Apr  4 15:26:23 2009
New Revision: 1248
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1248&view=rev

Log:
Move initialized handler connect closer to ce_page_initialize()

Modified:
   trunk/src/connection-editor/page-wireless-security.c

Modified: trunk/src/connection-editor/page-wireless-security.c
==============================================================================
--- trunk/src/connection-editor/page-wireless-security.c	(original)
+++ trunk/src/connection-editor/page-wireless-security.c	Sat Apr  4 15:26:23 2009
@@ -377,8 +377,6 @@
 
 	self->group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
 
-	g_signal_connect (self, "initialized", G_CALLBACK (finish_setup), NULL);
-
 	s_wsec = NM_SETTING_WIRELESS_SECURITY (nm_connection_get_setting (connection, 
 	                                       NM_TYPE_SETTING_WIRELESS_SECURITY));
 
@@ -403,6 +401,7 @@
 		setting_name = NM_SETTING_802_1X_SETTING_NAME;
 	}
 
+	g_signal_connect (self, "initialized", G_CALLBACK (finish_setup), NULL);
 	if (!ce_page_initialize (parent, setting_name, error)) {
 		g_object_unref (self);
 		return NULL;



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