aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-01 22:16:25 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-01 22:16:25 +0800
commit04bac0cf69e4dd26274cfe5fcb9d077a759c9fd6 (patch)
treecf8aab582002d2c11aae819f59c49a8a7a02ea0c /modules
parentfc4fbc6cabf39ef1356a05931983dca09fc83549 (diff)
downloadgsoc2013-evolution-04bac0cf69e4dd26274cfe5fcb9d077a759c9fd6.tar.gz
gsoc2013-evolution-04bac0cf69e4dd26274cfe5fcb9d077a759c9fd6.tar.zst
gsoc2013-evolution-04bac0cf69e4dd26274cfe5fcb9d077a759c9fd6.zip
Bug #613352 - Changed time range not propagated to calendar
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index 5576224644..1c9c26840c 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -219,7 +219,7 @@ cal_shell_view_date_navigator_scroll_event_cb (ECalShellView *cal_shell_view,
* we could move this handler into ECalShellSidebar. */
e_calendar_item_set_selection (calitem, &start_date, &end_date);
- cal_shell_view_date_navigator_date_range_changed_cb (
+ cal_shell_view_date_navigator_selection_changed_cb (
cal_shell_view, calitem);
}
@@ -459,8 +459,10 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view)
selector = e_cal_shell_sidebar_get_selector (cal_shell_sidebar);
date_navigator = e_cal_shell_sidebar_get_date_navigator (cal_shell_sidebar);
- /* Give GnomeCalendar a handle to the date navigator. */
+ /* Give GnomeCalendar a handle to the date navigator, memo and task table. */
gnome_calendar_set_date_navigator (calendar, date_navigator);
+ gnome_calendar_set_memo_table (calendar, memo_table ? GTK_WIDGET (memo_table) : NULL);
+ gnome_calendar_set_task_table (calendar, task_table ? GTK_WIDGET (task_table) : NULL);
e_calendar_item_set_get_time_callback (
date_navigator->calitem, (ECalendarItemGetTimeCallback)