Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2096
diff -u -p -r1.2096 ChangeLog
--- ChangeLog	23 Feb 2005 06:47:07 -0000	1.2096
+++ ChangeLog	23 Feb 2005 06:56:36 -0000
@@ -1,3 +1,10 @@
+2005-02-23  Mengjie Yu  <meng-jie.yu@sun.com>
+
+	* gtkhtml.c: (focus):we need cursor_changed signal even not in
+	caret_mode.
+
+	Fixes #72842
+
 2005-02-22  Mengjie Yu  <meng-jie.yu@sun.com>
 
 	* htmlengine-edit-cut-and-paste.c: (insert_empty_paragraph):
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.589
diff -u -p -r1.589 gtkhtml.c
--- gtkhtml.c	9 Feb 2005 14:36:59 -0000	1.589
+++ gtkhtml.c	23 Feb 2005 06:57:33 -0000
@@ -2347,8 +2347,10 @@ focus (GtkWidget *w, GtkDirectionType di
 			gtk_widget_grab_focus (w);
 		if (e->caret_mode) {
 			html_engine_jump_to_object (e, obj, offset);
-			g_signal_emit (GTK_HTML (w), signals [CURSOR_CHANGED], 0);
 		}
+
+		g_signal_emit (GTK_HTML (w), signals [CURSOR_CHANGED], 0);
+
 		return TRUE;
 	}
 
