aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-09-27 15:46:05 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-09-27 15:46:05 +0800
commit10c781d6838d73998c417e2090bf413e09b12807 (patch)
tree61648afddeff03f98e57fdc8f766ae5d516a0227 /calendar/gui/e-calendar-view.c
parentc54e15f7cfe18f697baa11a8a44b458cb7694c28 (diff)
downloadgsoc2013-evolution-10c781d6838d73998c417e2090bf413e09b12807.tar.gz
gsoc2013-evolution-10c781d6838d73998c417e2090bf413e09b12807.tar.zst
gsoc2013-evolution-10c781d6838d73998c417e2090bf413e09b12807.zip
2007-09-27 mcrha Fixes part of bug #228832
svn path=/trunk/; revision=34311
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index f52d05d4d6..157c1ea6e1 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1159,8 +1159,10 @@ static void
on_new_task (EPopup *ep, EPopupItem *pitem, void *data)
{
ECalendarView *cal_view = data;
+ time_t dtstart, dtend;
- gnome_calendar_new_task (cal_view->priv->calendar);
+ e_calendar_view_get_selected_time_range (cal_view, &dtstart, &dtend);
+ gnome_calendar_new_task (cal_view->priv->calendar, &dtstart, &dtend);
}
static void