From 4909b5ff6de4c14cc399aa9a94030fb0170e8a19 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 5 Apr 2004 11:17:43 +0000 Subject: Fixes #56316 2004-04-05 Rodrigo Moya Fixes #56316 * gui/dialogs/comp-editor-page.[ch]: added "fill_timezones" virtual method to CompEditorPage class. (comp_editor_page_fill_timezones): new function. (comp_editor_page_class_init): initialize new virtual method. * gui/dialogs/event-page.c (event_page_fill_timezones, event_page_class_init): * gui/dialogs/task-page.c (task_page_fill_timezones, task_page_class_init): * gui/dialogs/task-details-page.c (task_details_page_fill_timezones, task_details_page_class_init): implemented new virtual method for pages dealing with timezones. * gui/dialogs/comp-editor.c (save_comp): call the "fill_timezones" method on all pages, and call... (send_timezone): ...this function for each hash table item. svn path=/trunk/; revision=25314 --- calendar/gui/dialogs/comp-editor-page.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/comp-editor-page.h') diff --git a/calendar/gui/dialogs/comp-editor-page.h b/calendar/gui/dialogs/comp-editor-page.h index a6d938984d..2b3c6c60ab 100644 --- a/calendar/gui/dialogs/comp-editor-page.h +++ b/calendar/gui/dialogs/comp-editor-page.h @@ -76,6 +76,7 @@ typedef struct { gboolean (* fill_widgets) (CompEditorPage *page, ECalComponent *comp); gboolean (* fill_component) (CompEditorPage *page, ECalComponent *comp); + gboolean (* fill_timezones) (CompEditorPage *page, GHashTable *timezones); void (* set_summary) (CompEditorPage *page, const char *summary); void (* set_dates) (CompEditorPage *page, CompEditorPageDates *dates); @@ -89,7 +90,9 @@ gboolean comp_editor_page_fill_widgets (CompEditorPage *page, ECalComponent *comp); gboolean comp_editor_page_fill_component (CompEditorPage *page, ECalComponent *comp); -void comp_editor_page_set_e_cal (CompEditorPage *page, +gboolean comp_editor_page_fill_timezones (CompEditorPage *page, + GHashTable *timezones); +void comp_editor_page_set_e_cal (CompEditorPage *page, ECal *client); void comp_editor_page_set_summary (CompEditorPage *page, const char *summary); -- cgit v1.2.3