From 73f82e672d56fda85ea3dc1e3a0bbe35aca339a8 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 2 Jun 2003 14:19:27 +0000 Subject: Fixes #43763 2003-05-29 Rodrigo Moya Fixes #43763 * gui/e-week-view.c (e_week_view_init): use g_signal_connect_after for "button_press_event" callback. * gui/e-day-view.c (e_day_view_init): ditto. 2003-05-29 JP Rosevear Fixes #43775 svn path=/trunk/; revision=21362 --- calendar/ChangeLog | 9 +++++++++ calendar/gui/e-day-view.c | 4 ++-- calendar/gui/e-week-view.c | 10 +++++----- 3 files changed, 16 insertions(+), 7 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 00f43914b9..9c13f9f665 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2003-05-29 Rodrigo Moya + + Fixes #43763 + + * gui/e-week-view.c (e_week_view_init): use g_signal_connect_after + for "button_press_event" callback. + + * gui/e-day-view.c (e_day_view_init): ditto. + 2003-05-29 JP Rosevear Fixes #43775 diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 6ae7d5553c..8b3e968d95 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -621,8 +621,8 @@ e_day_view_init (EDayView *day_view) gtk_table_attach (GTK_TABLE (day_view), day_view->top_canvas, 1, 2, 0, 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0); gtk_widget_show (day_view->top_canvas); - g_signal_connect (day_view->top_canvas, "button_press_event", - G_CALLBACK (e_day_view_on_top_canvas_button_press), day_view); + g_signal_connect_after (day_view->top_canvas, "button_press_event", + G_CALLBACK (e_day_view_on_top_canvas_button_press), day_view); g_signal_connect (day_view->top_canvas, "button_release_event", G_CALLBACK (e_day_view_on_top_canvas_button_release), day_view); g_signal_connect (day_view->top_canvas, "motion_notify_event", diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 80b7ee2937..fc63e83f24 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -382,14 +382,14 @@ e_week_view_init (EWeekView *week_view) "EWeekViewMainItem::week_view", week_view, NULL); - g_signal_connect (week_view->main_canvas, "button_press_event", + g_signal_connect_after (week_view->main_canvas, "button_press_event", G_CALLBACK (e_week_view_on_button_press), week_view); g_signal_connect (week_view->main_canvas, "button_release_event", - G_CALLBACK (e_week_view_on_button_release), week_view); + G_CALLBACK (e_week_view_on_button_release), week_view); g_signal_connect (week_view->main_canvas, "scroll_event", - G_CALLBACK (e_week_view_on_scroll), week_view); + G_CALLBACK (e_week_view_on_scroll), week_view); g_signal_connect (week_view->main_canvas, "motion_notify_event", - G_CALLBACK (e_week_view_on_motion), week_view); + G_CALLBACK (e_week_view_on_motion), week_view); /* Create the buttons to jump to each days. */ pixbuf = gdk_pixbuf_new_from_xpm_data ((const char**) jump_xpm); @@ -2266,7 +2266,7 @@ e_week_view_on_button_press (GtkWidget *widget, e_week_view_show_popup_menu (week_view, event, -1); } - return FALSE; + return TRUE; } -- cgit v1.2.3