diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-week-view-main-item.c | 3 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8ad6de67ba..a943ae3d9a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-12-09 Andrew Wu <Yang.Wu@sun.com> + + * 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". + 2003-12-08 Bolian Yin <bolian.yin@sun.com> * gui/e-day-view.c (e_day_view_on_editing_started): remove setting property of "handle_popup". 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 |