network-manager-applet r455 - trunk/src



Author: dcbw
Date: Thu Jan 17 21:43:50 2008
New Revision: 455
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=455&view=rev

Log:
Use correct connection object

Modified:
   trunk/src/applet.c

Modified: trunk/src/applet.c
==============================================================================
--- trunk/src/applet.c	(original)
+++ trunk/src/applet.c	Thu Jan 17 21:43:50 2008
@@ -141,7 +141,7 @@
 			NMSettingConnection *s_con;
 
 			con_path = (char *) nm_connection_settings_get_dbus_object_path (applet_connection);
-			s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION));
+			s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (candidate, NM_TYPE_SETTING_CONNECTION));
 			g_message ("Found connection '%s' to activate at %s.", s_con->id, con_path);
 			connection = candidate;
 			break;



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