evolution r37192 - in branches/gnome-2-24/calendar: . gui



Author: pchen
Date: Fri Jan 30 10:45:18 2009
New Revision: 37192
URL: http://svn.gnome.org/viewvc/evolution?rev=37192&view=rev

Log:
Fixes #450554.

Modified:
   branches/gnome-2-24/calendar/ChangeLog
   branches/gnome-2-24/calendar/gui/e-cal-model.c
   branches/gnome-2-24/calendar/gui/gnome-cal.c

Modified: branches/gnome-2-24/calendar/gui/e-cal-model.c
==============================================================================
--- branches/gnome-2-24/calendar/gui/e-cal-model.c	(original)
+++ branches/gnome-2-24/calendar/gui/e-cal-model.c	Fri Jan 30 10:45:18 2009
@@ -1656,10 +1656,10 @@
 
 try_again:		
 	if (!e_cal_get_query (client_data->client, priv->full_sexp, &client_data->query, &error)) {
-		if (error->code == E_CALENDAR_STATUS_BUSY && tries != 3) {
+		if (error->code == E_CALENDAR_STATUS_BUSY && tries != 10) {
 			tries++;
 			/*TODO chose an optimal value */
-			g_usleep (50);
+			g_usleep (500);
 			g_clear_error (&error);
 			goto try_again;	
 		}	

Modified: branches/gnome-2-24/calendar/gui/gnome-cal.c
==============================================================================
--- branches/gnome-2-24/calendar/gui/gnome-cal.c	(original)
+++ branches/gnome-2-24/calendar/gui/gnome-cal.c	Fri Jan 30 10:45:18 2009
@@ -898,10 +898,10 @@
 		old_query = NULL;
 		if (!e_cal_get_query ((ECal *) l->data, real_sexp, &old_query, &error)) {
 			/* If calendar is busy try again for 3 times. */
-			if (error->code == E_CALENDAR_STATUS_BUSY && tries != 3) {
+			if (error->code == E_CALENDAR_STATUS_BUSY && tries != 10) {
 				tries++;
 				/*TODO chose an optimal value */
-				g_usleep (50);
+				g_usleep (500);
 				
 				g_clear_error (&error);
 				goto try_again;	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]