aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index ab445b03d6..7998b7bff6 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -1267,15 +1267,6 @@ create_new_event (CalendarComponent *calendar_component, CalendarComponentView *
return FALSE;
if (component_view && (view = E_CALENDAR_VIEW (gnome_calendar_get_current_view_widget (component_view->calendar)))) {
- GnomeCalendarViewType view_type;
-
- /* Force all for these view types because thats what's selected and it mimics a double click */
- view_type = gnome_calendar_get_view (component_view->calendar);
- if (view_type == GNOME_CAL_WEEK_VIEW
- || view_type == GNOME_CAL_MONTH_VIEW
- || view_type == GNOME_CAL_LIST_VIEW)
- is_allday = TRUE;
-
e_calendar_view_new_appointment_full (view, is_allday, is_meeting, TRUE);
} else {
ECalComponent *comp;