diff options
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index 6601228ad3..1b9c8d367a 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -441,8 +441,6 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) date_navigator->calitem, (ECalendarItemGetTimeCallback) cal_shell_view_get_current_time, cal_shell_view, NULL); - /* KILL-BONOBO FIXME -- Need to connect to the "user-created" - * signal for each ECalendarView. */ for (ii = 0; ii < GNOME_CAL_LAST_VIEW; ii++) { ECalendarView *calendar_view; @@ -453,6 +451,11 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) calendar_view, "popup-event", G_CALLBACK (cal_shell_view_popup_event_cb), cal_shell_view); + + g_signal_connect_swapped ( + calendar_view, "user-created", + G_CALLBACK (cal_shell_view_user_created_cb), + cal_shell_view); } g_signal_connect_swapped ( |