aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-06-28 19:16:56 +0800
committerMilan Crha <mcrha@redhat.com>2010-06-28 19:16:56 +0800
commit8cc61ce38cfdab52e9f7705b7852202f0773b6d5 (patch)
treebb57de7c16a1d0633604e4e6f28f15ec2308856d
parent9014d5d426464d6e7a56969ce0b93e087e100e89 (diff)
downloadgsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar.gz
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar.bz2
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar.lz
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar.xz
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.tar.zst
gsoc2013-evolution-8cc61ce38cfdab52e9f7705b7852202f0773b6d5.zip
Bug #623029 - Work week days not restored on start
-rw-r--r--calendar/gui/e-day-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index de4b9b3b68..3d5969a092 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2645,6 +2645,9 @@ e_day_view_recalc_day_starts (EDayView *day_view,
str = g_strdup_printf (_("Week %d"), g_date_get_iso8601_week_of_year (&dt));
gtk_label_set_text (GTK_LABEL (day_view->week_number_label), str);
g_free (str);
+
+ if (day_view->work_week_view)
+ e_day_view_recalc_work_week (day_view);
}
/* Whether we are displaying a work-week, in which case the display always