From 0fdb5d6dc167d32226452dd521221c1ed994f573 Mon Sep 17 00:00:00 2001 From: Andrew Wu Date: Tue, 9 Dec 2003 07:02:27 +0000 Subject: init a11y. emit signal "selected_time_changed". 2003-12-09 Andrew Wu * gui/e-week-view-main-item.c (e_week_view_main_item_class_init): init a11y. * gui/e-week-view.c: emit signal "selected_time_changed". svn path=/trunk/; revision=23891 --- calendar/gui/e-week-view-main-item.c | 3 +++ calendar/gui/e-week-view.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-week-view-main-item.c b/calendar/gui/e-week-view-main-item.c index ed823c2dcd..1c103d49c7 100644 --- a/calendar/gui/e-week-view-main-item.c +++ b/calendar/gui/e-week-view-main-item.c @@ -97,6 +97,9 @@ e_week_view_main_item_class_init (EWeekViewMainItemClass *class) item_class->update = e_week_view_main_item_update; item_class->draw = e_week_view_main_item_draw; item_class->point = e_week_view_main_item_point; + + /* init the accessibility support for e_week_view_main_item */ + e_week_view_main_item_a11y_init (); } diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index dfa175c90e..d73ad7c277 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3323,6 +3323,7 @@ e_week_view_on_key_up (EWeekView *week_view, GdkEventKey *event) week_view->selection_end_day = selection_end_day; gtk_widget_queue_draw (week_view->main_canvas); + g_signal_emit_by_name (week_view, "selected_time_changed"); } static void @@ -3361,6 +3362,7 @@ e_week_view_on_key_down (EWeekView *week_view, GdkEventKey *event) week_view->selection_end_day = selection_end_day; gtk_widget_queue_draw (week_view->main_canvas); + g_signal_emit_by_name (week_view, "selected_time_changed"); } static void @@ -3408,7 +3410,7 @@ e_week_view_on_key_left (EWeekView *week_view, GdkEventKey *event) week_view->selection_end_day = selection_end_day; gtk_widget_queue_draw (week_view->main_canvas); - + g_signal_emit_by_name (week_view, "selected_time_changed"); } static void @@ -3458,6 +3460,7 @@ e_week_view_on_key_right (EWeekView *week_view, GdkEventKey *event) week_view->selection_end_day = selection_end_day; gtk_widget_queue_draw (week_view->main_canvas); + g_signal_emit_by_name (week_view, "selected_time_changed"); } static gboolean -- cgit