[gtk+/composite-templates] mountoperation: don't timeout proxied mount	operation dialogs
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/composite-templates] mountoperation: don't timeout proxied mount	operation dialogs
- Date: Sat,  6 Oct 2012 17:01:20 +0000 (UTC)
commit d3bc8047d6a199e4482eb1fc03bdc336b39de34e
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]