From a67e8855318d1c252af1787b040b94509e863abb Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 18 Sep 2012 13:44:04 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index fa61746b2f..47b7ff22b3 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