diff options
author | Milan Crha <mcrha@redhat.com> | 2011-05-13 22:55:33 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:15 +0800 |
commit | a79844ab0d4d3b62b85fe8da73d08c80d9cdc375 (patch) | |
tree | 5ea711a5dc59e90a8416bdd0e735bc8465b48528 /calendar | |
parent | 757c1ded565f66497fe6e617cbb618ee81004328 (diff) | |
download | gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar.gz gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar.bz2 gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar.lz gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar.xz gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.tar.zst gsoc2013-evolution-a79844ab0d4d3b62b85fe8da73d08c80d9cdc375.zip |
Bug #243938 - Clicking on week numbers changes work week to week view
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/gnome-cal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index eb7ed6e081..3a4adad829 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1843,6 +1843,11 @@ gnome_calendar_display_view (GnomeCalendar *gcal, gcal->priv->date_navigator->calitem, "preserve_day_when_moving", preserve_day, NULL); + /* keep week days selected as before for a work week view */ + g_object_set (G_OBJECT (gcal->priv->date_navigator->calitem), + "keep_wdays_on_weeknum_click", view_type == GNOME_CAL_WORK_WEEK_VIEW, + NULL); + if (!gcal->priv->base_view_time) start_time = time (NULL); else |