aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Wu <Yang.Wu@sun.com>2003-12-09 15:02:27 +0800
committerBolian Yin <byin@src.gnome.org>2003-12-09 15:02:27 +0800
commit0fdb5d6dc167d32226452dd521221c1ed994f573 (patch)
tree1b797d2fc4fee915ae8b49a676c663aa763767b0
parent0e9852f8c4a73844ba327c72fedaa41ab60f2711 (diff)
downloadgsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar.gz
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar.bz2
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar.lz
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar.xz
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.tar.zst
gsoc2013-evolution-0fdb5d6dc167d32226452dd521221c1ed994f573.zip
init a11y. emit signal "selected_time_changed".
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". svn path=/trunk/; revision=23891
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-week-view-main-item.c3
-rw-r--r--calendar/gui/e-week-view.c5
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