[evolution-patches] cursor fix (again)



attached patch should fix remaining issues causing reversed typing
problem (already committed to trunk)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1850
diff -u -p -r1.1850 ChangeLog
--- ChangeLog	31 Jul 2003 20:22:18 -0000	1.1850
+++ ChangeLog	1 Aug 2003 08:34:07 -0000
@@ -1,3 +1,8 @@
+2003-08-01  Radek Doulik  <rodo ximian com>
+
+	* htmlobject.c (get_length): objects not accepting cursor have
+	zero length
+
 2003-07-31  Radek Doulik  <rodo ximian com>
 
 	* htmlengine-save.c (get_body): save margins
Index: htmlanchor.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlanchor.c,v
retrieving revision 1.14
diff -u -p -r1.14 htmlanchor.c
--- htmlanchor.c	23 Apr 2003 17:28:02 -0000	1.14
+++ htmlanchor.c	1 Aug 2003 08:34:07 -0000
@@ -87,7 +87,7 @@ calc_size (HTMLObject *self, HTMLPainter
 
 	return FALSE;
 }
-
+
 void
 html_anchor_type_init (void)
 {
Index: htmlobject.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlobject.c,v
retrieving revision 1.163
diff -u -p -r1.163 htmlobject.c
--- htmlobject.c	23 Jul 2003 17:35:22 -0000	1.163
+++ htmlobject.c	1 Aug 2003 08:34:11 -0000
@@ -452,7 +452,7 @@ get_cursor_base (HTMLObject *self,
 static guint
 get_length (HTMLObject *self)
 {
-	return 1;
+	return html_object_accepts_cursor (self) ? 1 : 0;
 }
 
 static guint


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