diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 17:55:33 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 17:55:33 +0800 |
commit | 15644eabdf761526d5f1cd45899241c94cbc5a9d (patch) | |
tree | 17adbec7591b991a9e31b503727307fcdaeaa77e /calendar | |
parent | 8f820f92550ff8211dbd3d782130383f2114ee5c (diff) | |
download | gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar.gz gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar.bz2 gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar.lz gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar.xz gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.tar.zst gsoc2013-evolution-15644eabdf761526d5f1cd45899241c94cbc5a9d.zip |
2007-08-16 mcrha Fix for bug #464106
svn path=/trunk/; revision=34015
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/goto.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 83a299e5f4..68bc8a4c4d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2007-08-16 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #464106 + + * gui/goto.c: (goto_dialog): + Set week_view_start with respect to settings. + 2007-08-13 Suman Manjunath <msuman@novell.com> reviewed by: Chenthill Palanisamy <pchenthill@novell.com> diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c index ed8b9f2fca..c58612875f 100644 --- a/calendar/gui/goto.c +++ b/calendar/gui/goto.c @@ -254,6 +254,9 @@ goto_dialog (GnomeCalendar *gcal) dlg->ecal->calitem->selection_end_month_offset = 0; dlg->ecal->calitem->selection_end_day = tt.day; + /* Set week_start_day. Convert it to 0 (Mon) to 6 (Sun), which is what we use. */ + dlg->ecal->calitem->week_start_day = (calendar_config_get_week_start_day () + 6) % 7; + gnome_canvas_item_grab_focus (GNOME_CANVAS_ITEM (dlg->ecal->calitem)); b = gtk_dialog_run (GTK_DIALOG (dlg->dialog)); |