diff options
author | JP Rosevear <jpr@ximian.com> | 2001-11-12 05:07:43 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-11-12 05:07:43 +0800 |
commit | 44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17 (patch) | |
tree | 993927a6395efc02b95caf75dfa3b262191ef309 /calendar/gui/dialogs | |
parent | 94497ea891f77c974e9ff6693d32c9cf20510ae0 (diff) | |
download | gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar.gz gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar.bz2 gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar.lz gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar.xz gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.tar.zst gsoc2013-evolution-44d3f6715ae3aa7b46cbf9d8991eff11c60dcc17.zip |
new protos
001-11-11 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.h: new protos
* gui/e-meeting-model.c (e_meeting_model_get_zone): accessor
(e_meeting_model_set_zone): ditto
(init): init to the calendar default zone
(process_free_busy_comp): take the zone to convert to as a param
(e_meeting_model_refresh_busy_periods): redraw properly
* gui/dialogs/schedule-page.c (update_time): set the zone of the
model
svn path=/trunk/; revision=14669
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/schedule-page.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index c1397d24c1..f9ee7a10a9 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -265,7 +265,8 @@ update_time (SchedulePage *spage, CalComponentDateTime *start_date, CalComponent if (start_zone != end_zone) { icaltimezone_convert_time (&end_tt, end_zone, start_zone); } - + e_meeting_model_set_zone (priv->model, priv->zone); + all_day = (start_tt.is_date && end_tt.is_date) ? TRUE : FALSE; /* For All Day Events, if DTEND is after DTSTART, we subtract 1 day |