aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-view.c
diff options
context:
space:
mode:
authorBolian Yin <bolian.yin@sun.com>2003-11-04 14:39:32 +0800
committerBolian Yin <byin@src.gnome.org>2003-11-04 14:39:32 +0800
commit1ec2cf1777ae358c0bdf32e0ea8d0db04fb01bf6 (patch)
tree6908b7064ac04f7a320db272b15bda2cc2e25aae /calendar/gui/e-cal-view.c
parent9b809ae73a935ea2405ce2af6987e3ae0db828a4 (diff)
downloadgsoc2013-evolution-1ec2cf1777ae358c0bdf32e0ea8d0db04fb01bf6.tar.gz
gsoc2013-evolution-1ec2cf1777ae358c0bdf32e0ea8d0db04fb01bf6.tar.zst
gsoc2013-evolution-1ec2cf1777ae358c0bdf32e0ea8d0db04fb01bf6.zip
add new signal "selected_time_changed" a11y initialization new public
2003-11-04 Bolian Yin <bolian.yin@sun.com> * gui/e-cal-view.c: add new signal "selected_time_changed" * gui/e-day-view-main-item.c (e_day_view_main_item_class_init): a11y initialization * gui/e-day-view-top-item (e_day_view_top_item_get_day_label): new public function. * gui/e-day-view.c (e_day_view_ensure_rows_visible, e_day_view_update_calendar_selection_time): make static functions public (e_day_view_cursor_key_up, e_day_view_cursor_key_down, e_day_view_cursor_key_left, e_day_view_cursor_key_right): emit "selected_time_changed". svn path=/trunk/; revision=23179
Diffstat (limited to 'calendar/gui/e-cal-view.c')
-rw-r--r--calendar/gui/e-cal-view.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-view.c b/calendar/gui/e-cal-view.c
index 7d2ef1c704..2e392560cd 100644
--- a/calendar/gui/e-cal-view.c
+++ b/calendar/gui/e-cal-view.c
@@ -94,6 +94,7 @@ enum props {
/* Signal IDs */
enum {
SELECTION_CHANGED,
+ SELECTED_TIME_CHANGED,
TIMEZONE_CHANGED,
EVENT_CHANGED,
EVENT_ADDED,
@@ -154,6 +155,7 @@ e_cal_view_class_init (ECalViewClass *klass)
object_class->destroy = e_cal_view_destroy;
klass->selection_changed = NULL;
+ klass->selected_time_changed = NULL;
klass->event_changed = NULL;
klass->event_added = NULL;
@@ -177,6 +179,14 @@ e_cal_view_class_init (ECalViewClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ e_cal_view_signals[SELECTED_TIME_CHANGED] =
+ g_signal_new ("selected_time_changed",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (ECalViewClass, selected_time_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
e_cal_view_signals[TIMEZONE_CHANGED] =
g_signal_new ("timezone_changed",
G_TYPE_FROM_CLASS (klass),