aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-10-30 09:49:59 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-10-30 09:49:59 +0800
commit9ef4e0a1c9809e153306a68971081db387ea1ade (patch)
treedc56dfa7ed087020b911a7936c8f7aed20fd3fde /calendar/gui/dialogs/event-page.c
parentdbff414ea8b585fb56d67cc80361e4bf2e26b78b (diff)
downloadgsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar.gz
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar.bz2
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar.lz
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar.xz
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.tar.zst
gsoc2013-evolution-9ef4e0a1c9809e153306a68971081db387ea1ade.zip
use libical-evolution.la
2001-10-29 Damon Chaplin <damon@ximian.com> * importers/Makefile.am (evolution_calendar_importer_LDADD): * gui/Makefile.am (evolution_calendar_LDADD): * cal-util/Makefile.am (test_recur_LDADD): * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la * gui/dialogs/schedule-page.c: save the timezone passed in for the start time, so if our times are changed we use this. Also, if the end time was passed in in a different timezone, convert it. Also hide the time fields for DATE values. Note that DATE values still do not work. * gui/dialogs/meeting-page.glade: changed "Invite Others" to "Invite Others..." to be consistent with the other page. * gui/dialogs/event-page.c (times_updated): (all_day_event_toggled_cb): set is_date if appropriate. * gui/e-itip-control.c (write_label_piece): convert all UTC times to the current timezone. Outlook sends simple, non-recurring, events as UTC times, which isn't very useful. svn path=/trunk/; revision=14397
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 44b6c0e711..72b6fe9871 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -930,6 +930,9 @@ times_updated (EventPage *epage, gboolean adjust_end_time)
set_start_date = TRUE;
}
}
+
+ start_tt.is_date = TRUE;
+ end_tt.is_date = TRUE;
} else {
/* For DATE-TIME events, we have to convert to the same
timezone before comparing. */
@@ -1099,6 +1102,7 @@ all_day_event_toggled_cb (GtkWidget *toggle, gpointer data)
start_tt.hour = 0;
start_tt.minute = 0;
start_tt.second = 0;
+ start_tt.is_date = TRUE;
/* Round down to the start of the day, or the start of the
previous day if it is midnight. */
@@ -1106,6 +1110,7 @@ all_day_event_toggled_cb (GtkWidget *toggle, gpointer data)
end_tt.hour = 0;
end_tt.minute = 0;
end_tt.second = 0;
+ end_tt.is_date = TRUE;
} else {
icaltimezone *start_zone, *end_zone;