[evolution-data-server] Bug #631073 - Task update operation has some	delay
- From: Milan Crha <mcrha src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution-data-server] Bug #631073 - Task update operation has some	delay
 
- Date: Wed, 20 Oct 2010 10:40:24 +0000 (UTC)
 
commit 8600073d99e79fa4848fbdfd1602481b7dde1b83
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 20 12:39:42 2010 +0200
    Bug #631073 - Task update operation has some delay
 calendar/libedata-cal/e-data-cal-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/libedata-cal/e-data-cal-view.c b/calendar/libedata-cal/e-data-cal-view.c
index fb61d5a..52de14f 100644
--- a/calendar/libedata-cal/e-data-cal-view.c
+++ b/calendar/libedata-cal/e-data-cal-view.c
@@ -221,7 +221,7 @@ ensure_pending_flush_timeout (EDataCalView *view)
 	if (priv->flush_id)
 		return;
 
-	priv->flush_id = g_timeout_add_seconds (THRESHOLD_SECONDS, pending_flush_timeout_cb, view);
+	priv->flush_id = g_timeout_add (e_data_cal_view_is_done (view) ? 10 : (THRESHOLD_SECONDS * 1000), pending_flush_timeout_cb, view);
 }
 
 static void
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]