diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-10-24 13:14:46 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-10-24 13:14:46 +0000 |
commit | b43a67248d56a4ad0bdc9ebcbe6e343ca6c280a0 (patch) | |
tree | 3cdb9fd5c8c0a7132d3a7b1e6fe52fdc73cdbe94 /common | |
parent | 985c9e3cbab9241af403efaa34884a493c5d4cca (diff) | |
download | gvfs-b43a67248d56a4ad0bdc9ebcbe6e343ca6c280a0.tar.gz |
Increase password dialog timeout to 30 minutes
2007-10-24 Alexander Larsson <alexl@redhat.com>
* common/gmountsource.c:
(g_mount_source_ask_password):
Increase password dialog timeout to 30 minutes
svn path=/trunk/; revision=993
Diffstat (limited to 'common')
-rw-r--r-- | common/gmountsource.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/gmountsource.c b/common/gmountsource.c index c84665df..f20a0ba9 100644 --- a/common/gmountsource.c +++ b/common/gmountsource.c @@ -204,8 +204,9 @@ g_mount_source_ask_password (GMountSource *source, data.cond = g_cond_new (); g_mutex_lock (data.mutex); - - _g_dbus_connection_call_async (NULL, message, -1, + + /* 30 minute timeout */ + _g_dbus_connection_call_async (NULL, message, 1000 * 60 * 30, ask_password_reply, &data); dbus_message_unref (message); |