aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-12-14 12:48:45 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-12-14 12:48:45 +0800
commit5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f (patch)
treec106a806cb7e90514c63965ffba4f8834885189a /calendar/gui/dialogs
parentdb80f3f3abe8beef6ff4e520f9d12c9d40679708 (diff)
downloadgsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar.gz
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar.bz2
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar.lz
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar.xz
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.tar.zst
gsoc2013-evolution-5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f.zip
Even though icaltime_from_timet() now properly ignores the is_utc argument
2000-12-13 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (ensure_mandatory_properties): Even though icaltime_from_timet() now properly ignores the is_utc argument since time_t values *are* in UTC by definition, we were passing FALSE for that argument's value in a bunch of places. So although it is ignored, changed them to TRUE for consistency. Hopefully newer versions of libical will remove that argument entirely since it does not make sense to speak of non-absolute time_t values. * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise. * conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise. * conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise. (e_day_view_on_delete_occurrence): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. * gui/e-week-view.c (e_week_view_key_press): Likewise. (e_week_view_on_new_appointment): Likewise. (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (simple_recur_to_comp_object): Likewise. (recur_to_comp_object): Likewise. (dialog_to_comp_object): Likewise. * gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise. svn path=/trunk/; revision=6995
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/task-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 34b62ba61e..b5e47cfdb7 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -942,7 +942,7 @@ dialog_to_comp_object (TaskEditor *tedit)
/* Due Date. */
t = e_date_edit_get_time (E_DATE_EDIT (priv->due_date));
if (t != -1) {
- *date.value = icaltime_from_timet (t, FALSE, FALSE);
+ *date.value = icaltime_from_timet (t, FALSE, TRUE);
cal_component_set_due (comp, &date);
} else {
cal_component_set_due (comp, NULL);
@@ -951,7 +951,7 @@ dialog_to_comp_object (TaskEditor *tedit)
/* Start Date. */
t = e_date_edit_get_time (E_DATE_EDIT (priv->start_date));
if (t != -1) {
- *date.value = icaltime_from_timet (t, FALSE, FALSE);
+ *date.value = icaltime_from_timet (t, FALSE, TRUE);
cal_component_set_dtstart (comp, &date);
} else {
cal_component_set_dtstart (comp, NULL);
@@ -960,7 +960,7 @@ dialog_to_comp_object (TaskEditor *tedit)
/* Completed Date. */
t = e_date_edit_get_time (E_DATE_EDIT (priv->completed_date));
if (t != -1) {
- *date.value = icaltime_from_timet (t, FALSE, FALSE);
+ *date.value = icaltime_from_timet (t, FALSE, TRUE);
cal_component_set_completed (comp, date.value);
} else {
cal_component_set_completed (comp, NULL);