[evolution-patches] 43103



-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.
? 43103.patch
? utf8-title.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1771
diff -u -r1.1771 ChangeLog
--- ChangeLog	18 May 2003 13:46:37 -0000	1.1771
+++ ChangeLog	19 May 2003 14:40:23 -0000
@@ -1,3 +1,17 @@
+2003-05-19  JP Rosevear  <jpr ximian com>
+
+	Fixes #43103
+	
+	* gui/e-day-view.c (e_day_view_init): connect normally instead of
+	after so that our boolean return values afffect the action signal
+	emmissions properly
+	(e_day_view_on_top_canvas_drag_motion): fix proto to be a gboolean
+	(e_day_view_on_main_canvas_drag_motion): ditto
+
+	* gui/e-week-view.c (e_week_view_init): connect normally instead
+	of after so that our boolean return values afffect the action
+	signal emmissions properly
+
 2003-05-16  JP Rosevear  <jpr ximian com>
 
 	* gui/dialogs/comp-editor.c (make_title_from_comp): the title is
Index: gui/e-day-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-day-view.c,v
retrieving revision 1.193
diff -u -r1.193 e-day-view.c
--- gui/e-day-view.c	18 May 2003 11:11:38 -0000	1.193
+++ gui/e-day-view.c	19 May 2003 14:40:25 -0000
@@ -378,21 +378,21 @@
 					       gpointer data);
 static EDayViewEvent* e_day_view_get_popup_menu_event (EDayView *day_view);
 
-static gint e_day_view_on_top_canvas_drag_motion (GtkWidget      *widget,
-						  GdkDragContext *context,
-						  gint            x,
-						  gint            y,
-						  guint           time,
-						  EDayView	  *day_view);
+static gboolean e_day_view_on_top_canvas_drag_motion (GtkWidget      *widget,
+						      GdkDragContext *context,
+						      gint            x,
+						      gint            y,
+						      guint           time,
+						      EDayView	  *day_view);
 static void e_day_view_update_top_canvas_drag (EDayView *day_view,
 					       gint day);
 static void e_day_view_reshape_top_canvas_drag_item (EDayView *day_view);
-static gint e_day_view_on_main_canvas_drag_motion (GtkWidget      *widget,
-						   GdkDragContext *context,
-						   gint            x,
-						   gint            y,
-						   guint           time,
-						   EDayView	  *day_view);
+static gboolean e_day_view_on_main_canvas_drag_motion (GtkWidget      *widget,
+						       GdkDragContext *context,
+						       gint            x,
+						       gint            y,
+						       guint           time,
+						       EDayView	  *day_view);
 static void e_day_view_reshape_main_canvas_drag_item (EDayView *day_view);
 static void e_day_view_update_main_canvas_drag (EDayView *day_view,
 						gint row,
@@ -620,16 +620,16 @@
 	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_after (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_release_event",
-				G_CALLBACK (e_day_view_on_top_canvas_button_release), day_view);
-	g_signal_connect_after (day_view->top_canvas, "motion_notify_event",
-				G_CALLBACK (e_day_view_on_top_canvas_motion), day_view);
-	g_signal_connect_after (day_view->top_canvas, "drag_motion",
-				G_CALLBACK (e_day_view_on_top_canvas_drag_motion), day_view);
-	g_signal_connect_after (day_view->top_canvas, "drag_leave",
-				G_CALLBACK (e_day_view_on_top_canvas_drag_leave), day_view);
+	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 (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",
+			  G_CALLBACK (e_day_view_on_top_canvas_motion), day_view);
+	g_signal_connect (day_view->top_canvas, "drag_motion",
+			  G_CALLBACK (e_day_view_on_top_canvas_drag_motion), day_view);
+	g_signal_connect (day_view->top_canvas, "drag_leave",
+			  G_CALLBACK (e_day_view_on_top_canvas_drag_leave), day_view);
 
 	g_signal_connect (day_view->top_canvas, "drag_begin",
 			  G_CALLBACK (e_day_view_on_drag_begin), day_view);
@@ -686,30 +686,30 @@
 	g_signal_connect (day_view->main_canvas, "realize",
 			  G_CALLBACK (e_day_view_on_canvas_realized), day_view);
 
-	g_signal_connect_after (day_view->main_canvas,
-				  "button_press_event",
-				  G_CALLBACK (e_day_view_on_main_canvas_button_press),
-				  day_view);
-	g_signal_connect_after (day_view->main_canvas,
-				  "button_release_event",
-				  G_CALLBACK (e_day_view_on_main_canvas_button_release),
-				  day_view);
-	g_signal_connect_after (day_view->main_canvas,
-				  "scroll_event",
-				  G_CALLBACK (e_day_view_on_main_canvas_scroll),
-				  day_view);
-	g_signal_connect_after (day_view->main_canvas,
-				  "motion_notify_event",
-				  G_CALLBACK (e_day_view_on_main_canvas_motion),
-				  day_view);
-	g_signal_connect_after (day_view->main_canvas,
-				  "drag_motion",
-				  G_CALLBACK (e_day_view_on_main_canvas_drag_motion),
-				  day_view);
-	g_signal_connect_after (day_view->main_canvas,
-				  "drag_leave",
-				  G_CALLBACK (e_day_view_on_main_canvas_drag_leave),
-				  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "button_press_event",
+			  G_CALLBACK (e_day_view_on_main_canvas_button_press),
+			  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "button_release_event",
+			  G_CALLBACK (e_day_view_on_main_canvas_button_release),
+			  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "scroll_event",
+			  G_CALLBACK (e_day_view_on_main_canvas_scroll),
+			  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "motion_notify_event",
+			  G_CALLBACK (e_day_view_on_main_canvas_motion),
+			  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "drag_motion",
+			  G_CALLBACK (e_day_view_on_main_canvas_drag_motion),
+			  day_view);
+	g_signal_connect (day_view->main_canvas,
+			  "drag_leave",
+			  G_CALLBACK (e_day_view_on_main_canvas_drag_leave),
+			  day_view);
 
 	g_signal_connect (day_view->main_canvas, "drag_begin",
 			  G_CALLBACK (e_day_view_on_drag_begin), day_view);
@@ -6813,7 +6813,7 @@
 }
 
 
-static gint
+static gboolean
 e_day_view_on_top_canvas_drag_motion (GtkWidget      *widget,
 				      GdkDragContext *context,
 				      gint            x,
@@ -6956,7 +6956,7 @@
 }
 
 
-static gint
+static gboolean
 e_day_view_on_main_canvas_drag_motion (GtkWidget      *widget,
 				       GdkDragContext *context,
 				       gint            x,
Index: gui/e-week-view.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-week-view.c,v
retrieving revision 1.162
diff -u -r1.162 e-week-view.c
--- gui/e-week-view.c	16 May 2003 14:55:37 -0000	1.162
+++ gui/e-week-view.c	19 May 2003 14:40:27 -0000
@@ -382,13 +382,13 @@
 				       "EWeekViewMainItem::week_view", week_view,
 				       NULL);
 
-	g_signal_connect_after (week_view->main_canvas, "button_press_event",
+	g_signal_connect (week_view->main_canvas, "button_press_event",
 				G_CALLBACK (e_week_view_on_button_press), week_view);
-	g_signal_connect_after (week_view->main_canvas, "button_release_event",
+	g_signal_connect (week_view->main_canvas, "button_release_event",
 				G_CALLBACK (e_week_view_on_button_release), week_view);
-	g_signal_connect_after (week_view->main_canvas, "scroll_event",
+	g_signal_connect (week_view->main_canvas, "scroll_event",
 				G_CALLBACK (e_week_view_on_scroll), week_view);
-	g_signal_connect_after (week_view->main_canvas, "motion_notify_event",
+	g_signal_connect (week_view->main_canvas, "motion_notify_event",
 				G_CALLBACK (e_week_view_on_motion), week_view);
 
 	/* Create the buttons to jump to each days. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]