mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 23:28:08 +02:00
2007-09-24 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c - (nm_manager_get_connection_secrets): Add a long timeout so the user actually has some time to enter a key before the GetSecrets call times out git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2866 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
9496e413c7
commit
44b7179e8c
2 changed files with 14 additions and 6 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2007-09-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-manager.c
|
||||
- (nm_manager_get_connection_secrets): Add a long timeout so the user
|
||||
actually has some time to enter a key before the GetSecrets call
|
||||
times out
|
||||
|
||||
2007-09-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* introspection/nm-manager.xml
|
||||
|
|
|
|||
|
|
@ -1080,12 +1080,13 @@ nm_manager_get_connection_secrets (NMManager *manager,
|
|||
info->manager = manager;
|
||||
info->device = g_object_ref (device);
|
||||
|
||||
if (!dbus_g_proxy_begin_call (proxy, "GetSecrets",
|
||||
get_secrets_cb,
|
||||
info,
|
||||
free_get_secrets_info,
|
||||
G_TYPE_STRING, setting_name,
|
||||
G_TYPE_INVALID)) {
|
||||
if (!dbus_g_proxy_begin_call_with_timeout (proxy, "GetSecrets",
|
||||
get_secrets_cb,
|
||||
info,
|
||||
free_get_secrets_info,
|
||||
G_MAXINT32,
|
||||
G_TYPE_STRING, setting_name,
|
||||
G_TYPE_INVALID)) {
|
||||
nm_warning ("Could not call GetSecrets");
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue