aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-10-28 10:26:21 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-10-28 10:26:21 +0800
commit70708440caf29c52e8d2a07872304a4874590fbe (patch)
tree58df4f77409063261c3e1dcadd8ac47685f24714 /calendar/gui/calendar-model.c
parent27c2d8fee607bab0431bc5673d092d30bc9a4a76 (diff)
downloadgsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar.gz
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar.bz2
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar.lz
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar.xz
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.tar.zst
gsoc2013-evolution-70708440caf29c52e8d2a07872304a4874590fbe.zip
when the week start day is set to Sunday, we have to be careful to make
2001-10-27 Damon Chaplin <damon@ximian.com> * gui/print.c (print_week_view): (range_selector_new): when the week start day is set to Sunday, we have to be careful to make sure we print the correct week, since the previous Saturday is actually printed first. Fixes bug #13687. (print_week_summary): always set compress_weekend to true if multi_week_view is FALSE (i.e. we are printing the week view). Fixes bug #13688. * gui/e-itip-control.c (send_freebusy): use the timezones from the DTSTART and DTEND. (write_label_piece): output the date-time and the timezone after it. Note that we may want to convert it to the current timezone and display that as well. Also converted COMPLETED to the current timezone. And fixed all uses of old timezone functions. * gui/dialogs/comp-editor.c (commit_all_fields): added function to set the focus in the window to NULL, so all fields lose their focus, so they emit "changed" signals and update their values if needed. We call this when most menu commands are used, e.g. 'Save and Close', 'Print' etc. Fixes bug #11434. In future we should also check fields are valid and show dialogs if they are not. * gui/calendar-model.c (get_completed): use the completed value properly. Fixes bug #13694. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check from_zone and to_zone != NULL. A NULL zone is valid, it is for floating times. svn path=/trunk/; revision=14266
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 284940f525..7e8cc5665b 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -432,7 +432,6 @@ get_completed (CalendarModel *model,
int row)
{
CalendarModelPrivate *priv;
- CalComponentDateTime dt;
CalendarModelObjectData *object_data;
struct icaltimetype *completed;
@@ -446,7 +445,7 @@ get_completed (CalendarModel *model,
if (completed) {
object_data->completed = g_new (ECellDateEditValue, 1);
- object_data->completed->tt = *dt.value;
+ object_data->completed->tt = *completed;
object_data->completed->zone = icaltimezone_get_utc_timezone ();
cal_component_free_icaltimetype (completed);
} else {