[evolution-patches] another coordinates fix



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1813
diff -u -p -r1.1813 ChangeLog
--- ChangeLog	25 Jun 2003 18:15:45 -0000	1.1813
+++ ChangeLog	26 Jun 2003 13:11:50 -0000
@@ -1,3 +1,7 @@
+2003-06-26  Radek Doulik  <rodo ximian com>
+
+	* gtkhtml.c (button_press_event): fix coordinates
+
 2003-06-24  Larry Ewing  <lewing ximian com>
 
 	* htmlengine.c (parse_body): add helper functions to push/pop clue
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.518
diff -u -p -r1.518 gtkhtml.c
--- gtkhtml.c	25 Jun 2003 18:15:46 -0000	1.518
+++ gtkhtml.c	26 Jun 2003 13:11:52 -0000
@@ -1481,7 +1481,7 @@ button_press_event (GtkWidget *widget,
 				HTMLEngine *orig_e;
 
 				orig_e = GTK_HTML (orig_widget)->engine;
-				obj = html_engine_get_object_at (engine, x + engine->x_offset, y + engine->y_offset,
+				obj = html_engine_get_object_at (engine, x, y,
 								 NULL, FALSE);
 				if (obj && ((HTML_IS_IMAGE (obj) && HTML_IMAGE (obj)->url && *HTML_IMAGE (obj)->url)
 					    || HTML_IS_LINK_TEXT (obj)))


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