aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-24 06:03:46 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-24 06:03:46 +0800
commitb29fc16e4b9130c44ec5702851166466164fbbf8 (patch)
tree234c8e0c3f41fa657b805453f9b70cbc0ea06754 /calendar/gui/e-day-view.c
parentaaedfc462856ab8c6f4601931150aae518ae0ab5 (diff)
downloadgsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar.gz
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar.bz2
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar.lz
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar.xz
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.tar.zst
gsoc2013-evolution-b29fc16e4b9130c44ec5702851166466164fbbf8.zip
Set vtype of new CalComponent (e_week_view_on_new_appointment): ditto
2000-08-23 JP Rosevear <jpr@helixcode.com> * gui/e-week-view.c (e_week_view_key_press): Set vtype of new CalComponent (e_week_view_on_new_appointment): ditto * gui/e-day-view.c (e_day_view_on_new_appointment): ditto svn path=/trunk/; revision=4990
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index c14da5f58f..d8e52e683b 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2407,6 +2407,7 @@ e_day_view_on_new_appointment (GtkWidget *widget, gpointer data)
day_view = E_DAY_VIEW (data);
comp = cal_component_new ();
+ cal_component_set_new_vtype (comp, CAL_COMPONENT_EVENT);
e_day_view_get_selected_time_range (day_view, &dtstart, &dtend);
date.value = g_new (struct icaltimetype, 1);