From 989886007f3f69ca64e383ad6d64ef8c352f6df8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 6 Mar 2013 13:09:49 -0500 Subject: goto-dialog: ECalendarItem sets its own week start day. By way of ESettingsCalendarItem. --- calendar/gui/dialogs/goto-dialog.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'calendar') 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)); -- cgit