From 9e8e4d56d7efb3b531458e9b1fd1013e91865225 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 30 Oct 2002 14:34:00 +0000 Subject: cleaned up the status bar messages for all widgets. 2002-10-29 Rodrigo Moya * gui/gnome-cal.c (backend_died_cb): cleaned up the status bar messages for all widgets. svn path=/trunk/; revision=18467 --- calendar/gui/gnome-cal.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/gui') 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 (); -- cgit