typo in nm-vpn-manager.c



Hey, I'm not positive, but I think line 150 of nm-vpn-manager.c should be system settings. Patch included.
Index: src/vpn-manager/nm-vpn-manager.c
===================================================================
--- src/vpn-manager/nm-vpn-manager.c	(revision 3109)
+++ src/vpn-manager/nm-vpn-manager.c	(working copy)
@@ -147,7 +147,7 @@
 		connection = nm_manager_get_connection_by_object_path (NM_VPN_MANAGER_GET_PRIVATE (manager)->nm_manager,
 		                                                       NM_CONNECTION_TYPE_USER,
 		                                                       connection_path);
-	else if (!strcmp (connection_type, NM_DBUS_SERVICE_USER_SETTINGS))
+	else if (!strcmp (connection_type, NM_DBUS_SERVICE_SYSTEM_SETTINGS))
 		connection = nm_manager_get_connection_by_object_path (NM_VPN_MANAGER_GET_PRIVATE (manager)->nm_manager,
 		                                                       NM_CONNECTION_TYPE_SYSTEM,
 		                                                       connection_path);


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