aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-10-30 22:34:00 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-10-30 22:34:00 +0800
commit9e8e4d56d7efb3b531458e9b1fd1013e91865225 (patch)
treefc82590ecfa959da8dce5a96f96c73b89692e4af /calendar/gui
parenta67d38de266a4009a949138e632e720df00631f6 (diff)
downloadgsoc2013-evolution-9e8e4d56d7efb3b531458e9b1fd1013e91865225.tar.gz
gsoc2013-evolution-9e8e4d56d7efb3b531458e9b1fd1013e91865225.tar.zst
gsoc2013-evolution-9e8e4d56d7efb3b531458e9b1fd1013e91865225.zip
cleaned up the status bar messages for all widgets.
2002-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (backend_died_cb): cleaned up the status bar messages for all widgets. svn path=/trunk/; revision=18467
Diffstat (limited to 'calendar/gui')
-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 ();