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.
This commit is contained in:
@ -201,6 +201,8 @@ gtk_mount_operation_init (GtkMountOperation *operation)
|
|||||||
if (!name_owner)
|
if (!name_owner)
|
||||||
g_clear_object (&operation->priv->handler);
|
g_clear_object (&operation->priv->handler);
|
||||||
g_free (name_owner);
|
g_free (name_owner);
|
||||||
|
|
||||||
|
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user