diff options
author | Bolian Yin <bolian.yin@sun.com> | 2003-11-04 14:39:32 +0800 |
---|---|---|
committer | Bolian Yin <byin@src.gnome.org> | 2003-11-04 14:39:32 +0800 |
commit | 1ec2cf1777ae358c0bdf32e0ea8d0db04fb01bf6 (patch) | |
tree | 6908b7064ac04f7a320db272b15bda2cc2e25aae /calendar/gui/e-day-view.c | |
parent | 9b809ae73a935ea2405ce2af6987e3ae0db828a4 (diff) | |
download | gsoc2013-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-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index d6678487c7..bfdb788327 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -184,9 +184,6 @@ static void e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event); static void e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event); -static void e_day_view_ensure_rows_visible (EDayView *day_view, - gint start_row, - gint end_row); static void e_day_view_scroll (EDayView *day_view, gfloat pages_to_scroll); @@ -219,7 +216,6 @@ static gboolean e_day_view_on_time_canvas_scroll (GtkWidget *widget, GdkEventScroll *scroll, EDayView *day_view); -static void e_day_view_update_calendar_selection_time (EDayView *day_view); static gboolean e_day_view_on_main_canvas_motion (GtkWidget *widget, GdkEventMotion *event, EDayView *day_view); @@ -3295,7 +3291,7 @@ e_day_view_on_main_canvas_button_release (GtkWidget *widget, } -static void +void e_day_view_update_calendar_selection_time (EDayView *day_view) { time_t start, end; @@ -5228,6 +5224,7 @@ e_day_view_cursor_key_up (EDayView *day_view, GdkEventKey *event) day_view->selection_start_row, day_view->selection_end_row); + g_signal_emit_by_name (day_view, "selected_time_changed"); e_day_view_update_calendar_selection_time (day_view); /* FIXME: Optimise? */ @@ -5260,6 +5257,7 @@ e_day_view_cursor_key_down (EDayView *day_view, GdkEventKey *event) day_view->selection_start_row, day_view->selection_end_row); + g_signal_emit_by_name (day_view, "selected_time_changed"); e_day_view_update_calendar_selection_time (day_view); /* FIXME: Optimise? */ @@ -5283,6 +5281,7 @@ e_day_view_cursor_key_left (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->top_canvas); gtk_widget_queue_draw (day_view->main_canvas); } + g_signal_emit_by_name (day_view, "selected_time_changed"); } @@ -5301,6 +5300,7 @@ e_day_view_cursor_key_right (EDayView *day_view, GdkEventKey *event) gtk_widget_queue_draw (day_view->top_canvas); gtk_widget_queue_draw (day_view->main_canvas); } + g_signal_emit_by_name (day_view, "selected_time_changed"); } @@ -5348,7 +5348,7 @@ e_day_view_check_if_new_event_fits (EDayView *day_view) } -static void +void e_day_view_ensure_rows_visible (EDayView *day_view, gint start_row, gint end_row) |