From 87e60de4aae77bc239ceb67aaa2c7c8bd6a24343 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 29 Apr 2004 19:36:53 +0000 Subject: remove prototypes 2004-04-29 JP Rosevear * gui/tasks-component.h (tasks_component_peek_source_list): remove prototypes * gui/tasks-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal * gui/gnome-cal.h: add signals, protos * gui/gnome-cal.c (gnome_calendar_class_init): add source added and removed signals (client_cal_opened_cb): emit source removed signal (open_ecal): set the status message (backend_died_cb): emit source removed signal (gnome_calendar_set_activity_handler): allow an activity handler to be set (gnome_calendar_add_source): emit source added signal (gnome_calendar_remove_source): emit source removed signal (display_view): update the active activity handler * gui/e-tasks.h: add signal prototypes * gui/e-tasks.c (e_tasks_class_init): add source added and removed signals (backend_died_cb): emit source removed signal (e_tasks_add_todo_source): emit source added/removed signals (e_tasks_remove_todo_source): emit source removed signal * gui/e-calendar-view.h: add proto * gui/e-calendar-view.c (e_calendar_view_set_activity_handler): allow an activity handler to be set (e_calendar_view_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-table.h: add data member and proto * gui/e-calendar-table.c (e_calendar_table_set_activity_handler): allow an activity handler to be set (e_calendar_table_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-marshal.list: add extra marshallers * gui/calendar-component.h: kill protos * gui/calendar-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal svn path=/trunk/; revision=25694 --- calendar/gui/e-calendar-table.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui/e-calendar-table.h') diff --git a/calendar/gui/e-calendar-table.h b/calendar/gui/e-calendar-table.h index 1aebd430b8..c69c95d56e 100644 --- a/calendar/gui/e-calendar-table.h +++ b/calendar/gui/e-calendar-table.h @@ -27,6 +27,7 @@ #include #include #include +#include "e-activity-handler.h" #include "e-cal-model.h" G_BEGIN_DECLS @@ -61,6 +62,7 @@ struct _ECalendarTable { icalcomponent *tmp_vcal; /* Activity ID for the EActivityHandler (i.e. the status bar). */ + EActivityHandler *activity_handler; guint activity_id; }; @@ -92,6 +94,8 @@ void e_calendar_table_load_state (ECalendarTable *cal_table, void e_calendar_table_save_state (ECalendarTable *cal_table, gchar *filename); +void e_calendar_table_set_activity_handler (ECalendarTable *cal_table, + EActivityHandler *activity_handler); void e_calendar_table_set_status_message (ECalendarTable *cal_table, const gchar *message); -- cgit v1.2.3