From 84dc93b8de0c5944982f66559bfc1cc74edb19db Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 19 Jun 2001 05:23:16 +0000 Subject: added timezone fields. Also moved the 'All Day' flag into an alignment so 2001-06-19 Damon Chaplin * gui/dialogs/task-details-page.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: added timezone fields. Also moved the 'All Day' flag into an alignment so it doesn't mess up the height of the other widgets. * gui/dialogs/task-details-page.c: * gui/dialogs/task-page.c: * gui/dialogs/event-page.c: added code to handle the timezone fields. This still needs to be hooked up when the libical code is finished. * gui/dialogs/e-timezone-dialog.c (on_map_leave): new function to clear the preview label and turn off the highlighted point on the map when you move the mouse outside it. (find_selected_point): new function to try to find the point corresponding to the text in the combo. (on_combo_changed): call the above function to update the selected point. (on_map_leave): turn off the preview point & label when the mouse leaves the map. (e_timezone_dialog_set_cal_client): changed it so that selecting "None" clears the entry. * gui/dialogs/comp-editor-page.[hc]: added set_cal_client() virtual method since some pages need to access the CalClient to get timezone information. Also added comp_editor_page_set_cal_client() to call the virtual method. * gui/dialogs/comp-editor.c (comp_editor_set_cal_client): called comp_editor_page_set_cal_client() on each page. * gui/calendar-config.c: added functions to get & set the timezone. svn path=/trunk/; revision=10285 --- calendar/gui/dialogs/task-page.glade | 50 +++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/task-page.glade') diff --git a/calendar/gui/dialogs/task-page.glade b/calendar/gui/dialogs/task-page.glade index b6182cd860..0c54bb80a9 100644 --- a/calendar/gui/dialogs/task-page.glade +++ b/calendar/gui/dialogs/task-page.glade @@ -120,7 +120,7 @@ GtkTable table1 2 - 2 + 3 False 2 4 @@ -227,6 +227,52 @@ False + + + Custom + due-timezone + make_timezone_entry + 0 + 0 + Tue, 19 Jun 2001 04:43:54 GMT + + 2 + 3 + 0 + 1 + 0 + 0 + True + False + False + False + True + True + + + + + Custom + start-timezone + make_timezone_entry + 0 + 0 + Tue, 19 Jun 2001 04:43:46 GMT + + 2 + 3 + 1 + 2 + 0 + 0 + False + False + False + False + True + True + + @@ -468,6 +514,7 @@ Undefined GtkButton contacts-button True + GTK_RELIEF_NORMAL 0 False @@ -506,6 +553,7 @@ Undefined GtkButton categories-button True + GTK_RELIEF_NORMAL 0 False -- cgit v1.2.3