evolution r37187 - in trunk/calendar: . gui
- From: pchen svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r37187 - in trunk/calendar: . gui
- Date: Fri, 30 Jan 2009 09:28:55 +0000 (UTC)
Author: pchen
Date: Fri Jan 30 09:28:55 2009
New Revision: 37187
URL: http://svn.gnome.org/viewvc/evolution?rev=37187&view=rev
Log:
Fixes #347287.
Modified:
trunk/calendar/ChangeLog
trunk/calendar/gui/e-cal-model.c
trunk/calendar/gui/gnome-cal.c
Modified: trunk/calendar/gui/e-cal-model.c
==============================================================================
--- trunk/calendar/gui/e-cal-model.c (original)
+++ trunk/calendar/gui/e-cal-model.c Fri Jan 30 09:28:55 2009
@@ -1677,10 +1677,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: trunk/calendar/gui/gnome-cal.c
==============================================================================
--- trunk/calendar/gui/gnome-cal.c (original)
+++ trunk/calendar/gui/gnome-cal.c Fri Jan 30 09:28:55 2009
@@ -903,10 +903,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]