aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-06-02 22:19:27 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-06-02 22:19:27 +0800
commit73f82e672d56fda85ea3dc1e3a0bbe35aca339a8 (patch)
treea69d5692fbc5a142cb028d7be6b68d1377f83f88 /calendar
parent9dd5dd01a2ef443223aa1a26632318247edbc0c6 (diff)
downloadgsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar.gz
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar.bz2
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar.lz
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar.xz
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.tar.zst
gsoc2013-evolution-73f82e672d56fda85ea3dc1e3a0bbe35aca339a8.zip
Fixes #43763
2003-05-29 Rodrigo Moya <rodrigo@ximian.com> 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 <jpr@ximian.com> Fixes #43775 svn path=/trunk/; revision=21362
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/gui/e-day-view.c4
-rw-r--r--calendar/gui/e-week-view.c10
3 files changed, 16 insertions, 7 deletions
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 <rodrigo@ximian.com>
+
+ 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 <jpr@ximian.com>
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;
}