aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 2d1bd07e67..e54f3c74e6 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1768,11 +1768,17 @@ backend_died_cb (CalClient *client, gpointer data)
"You will have to restart Evolution in order "
"to use it again"),
cal_client_get_uri (priv->client));
+ e_day_view_set_status_message (E_DAY_VIEW (priv->day_view), NULL);
+ e_day_view_set_status_message (E_DAY_VIEW (priv->work_week_view), NULL);
+ e_week_view_set_status_message (E_WEEK_VIEW (priv->week_view), NULL);
+ e_week_view_set_status_message (E_WEEK_VIEW (priv->month_view), NULL);
} else if (client == priv->task_pad_client) {
message = g_strdup_printf (_("The task backend for\n%s\n has crashed. "
"You will have to restart Evolution in order "
"to use it again"),
cal_client_get_uri (priv->task_pad_client));
+ calendar_model_set_status_message (
+ e_calendar_table_get_model (E_CALENDAR_TABLE (priv->todo)), NULL);
} else
g_assert_not_reached ();