aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-08-20 17:45:44 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-08-20 17:45:44 +0800
commit8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624 (patch)
treebb56bd6de9e7b11d6cb7e03464d8b6650f2ec575 /calendar/gui/calendar-component.c
parente3bc9c823718c769c9667b9f707fdabf0d8f0697 (diff)
downloadgsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar.gz
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar.bz2
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar.lz
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar.xz
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.tar.zst
gsoc2013-evolution-8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624.zip
2007-08-20 mcrha Fix for bug #262226
svn path=/trunk/; revision=34043
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;