[gtk+] mountoperation: don't timeout proxied mount operation dialogs
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] mountoperation: don't timeout proxied mount operation dialogs
- Date: Tue, 18 Sep 2012 17:47:47 +0000 (UTC)
commit a67e8855318d1c252af1787b040b94509e863abb
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Sep 18 13:44:04 2012 -0400
mountoperation: don't timeout proxied mount operation dialogs
When we proxy mount operation dialogs to the Shell agent, don't use a
timeout for the remote calls, since we will be waiting on user
interaction.
gtk/gtkmountoperation.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index fa61746..47b7ff2 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -201,6 +201,8 @@ gtk_mount_operation_init (GtkMountOperation *operation)
if (!name_owner)
g_clear_object (&operation->priv->handler);
g_free (name_owner);
+
+ g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]