aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-07 02:09:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-07 02:31:59 +0800
commit989886007f3f69ca64e383ad6d64ef8c352f6df8 (patch)
tree499203d14c5b51cb6a1a0f9ea5abbc8618c763ba
parent51bc12ddecbab5ecfadeaf02a35f142d8cca34cf (diff)
downloadgsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar.gz
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar.bz2
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar.lz
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar.xz
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.tar.zst
gsoc2013-evolution-989886007f3f69ca64e383ad6d64ef8c352f6df8.zip
goto-dialog: ECalendarItem sets its own week start day.
By way of ESettingsCalendarItem.
-rw-r--r--calendar/gui/dialogs/goto-dialog.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/goto-dialog.c b/calendar/gui/dialogs/goto-dialog.c
index 132438865c..64c40ff285 100644
--- a/calendar/gui/dialogs/goto-dialog.c
+++ b/calendar/gui/dialogs/goto-dialog.c
@@ -238,7 +238,6 @@ goto_dialog (GtkWindow *parent,
time_t start_time;
struct icaltimetype tt;
icaltimezone *timezone;
- gint week_start_day;
gint b;
if (dlg) {
@@ -284,10 +283,6 @@ goto_dialog (GtkWindow *parent,
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. */
- week_start_day = e_cal_model_get_week_start_day (model);
- dlg->ecal->calitem->week_start_day = (week_start_day + 6) % 7;
-
gnome_canvas_item_grab_focus (GNOME_CANVAS_ITEM (dlg->ecal->calitem));
b = gtk_dialog_run (GTK_DIALOG (dlg->dialog));