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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/calendar-component.h') diff --git a/calendar/gui/calendar-component.h b/calendar/gui/calendar-component.h index 1ddadf6857..04672c1122 100644 --- a/calendar/gui/calendar-component.h +++ b/calendar/gui/calendar-component.h @@ -27,6 +27,7 @@ #include #include +#include "widgets/misc/e-source-selector.h" #include "e-activity-handler.h" #include "Evolution.h" @@ -62,6 +63,7 @@ CalendarComponent *calendar_component_peek (void); const char *calendar_component_peek_base_directory (CalendarComponent *component); const char *calendar_component_peek_config_directory (CalendarComponent *component); ESourceList *calendar_component_peek_source_list (CalendarComponent *component); +ESourceSelector *calendar_component_peek_source_selector (CalendarComponent *component); EActivityHandler *calendar_component_peek_activity_handler (CalendarComponent *component); -- cgit v1.2.3