summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-09-18 13:44:04 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-09-18 13:46:14 -0400
commita67e8855318d1c252af1787b040b94509e863abb (patch)
tree6b5f7e79673d3e660ce9bb986311807411cbfc4b
parent9cc918b6424338454a1c4628320017766f57bbdf (diff)
downloadgtk+-a67e8855318d1c252af1787b040b94509e863abb.tar.gz
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.
-rw-r--r--gtk/gtkmountoperation.c2
1 files changed, 2 insertions, 0 deletions
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