aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cal-config-caldav
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-07-11 18:37:12 +0800
committerMilan Crha <mcrha@redhat.com>2012-07-11 18:37:12 +0800
commit1852490a930c625a5fb300069694d661e3eeed02 (patch)
tree0402609ae4a8daeadc74b790437d0902053757e0 /modules/cal-config-caldav
parent5183108e3bbcfc1b23a2d5c2b67d3f41000c5e32 (diff)
downloadgsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.gz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.bz2
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.lz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.xz
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.tar.zst
gsoc2013-evolution-1852490a930c625a5fb300069694d661e3eeed02.zip
Preset timeout on SoupSession-s to 90 seconds
Diffstat (limited to 'modules/cal-config-caldav')
-rw-r--r--modules/cal-config-caldav/e-caldav-chooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c
index e5904fb4c5..55143f0d4c 100644
--- a/modules/cal-config-caldav/e-caldav-chooser.c
+++ b/modules/cal-config-caldav/e-caldav-chooser.c
@@ -344,6 +344,8 @@ caldav_chooser_configure_session (ECaldavChooser *chooser,
g_object_unref (logger);
}
+ g_object_set (session, SOUP_SESSION_TIMEOUT, 90, NULL);
+
/* This adds proxy support. */
soup_session_add_feature_by_type (
session, SOUP_TYPE_GNOME_FEATURES_2_26);