2007-11-27 Dan Williams <dcbw@redhat.com>

* src/vpn-manager/nm-vpn-manager.c
		- (impl_vpn_manager_connect): fix system settings check (found by
			James M. Leddy)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-11-27 16:27:20 +00:00
parent b3684dfc1b
commit bfb5fc0dc9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-11-27 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-manager.c
- (impl_vpn_manager_connect): fix system settings check (found by
James M. Leddy)
2007-11-26 Dan Williams <dcbw@redhat.com>
* Fix warnings so everything compiles with --enable-more-warnings

View file

@ -147,7 +147,7 @@ impl_vpn_manager_connect (NMVPNManager *manager,
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);