From e1e8526ea808a8d30251b7c871ffcd820b7c223d Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sat, 24 Jan 2004 22:45:53 +0000 Subject: new function. 2004-01-24 Rodrigo Moya * gui/calendar-component.[ch] (calendar_component_peek_source_selector): new function. * gui/tasks-component.[ch] (tasks_component_peek_source_selector): new function. * gui/e-tasks.c (backend_died_cb): * gui/gnome-cal.c (backend_died_cb): don't tell the user to restart Evolution, there is no need now, just unselecting and selecting back the calendar loads it again. Also, remove the crashed client from the list of loaded clients. Also, unselect the source on the source selector. svn path=/trunk/; revision=24417 --- calendar/gui/calendar-component.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 47d2711f48..7efcafc8ae 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -853,6 +853,12 @@ calendar_component_peek_source_list (CalendarComponent *component) return component->priv->source_list; } +ESourceSelector * +calendar_component_peek_source_selector (CalendarComponent *component) +{ + return component->priv->source_selector; +} + EActivityHandler * calendar_component_peek_activity_handler (CalendarComponent *component) { -- cgit