Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/ChangeLog,v
retrieving revision 1.490
diff -u -p -r1.490 ChangeLog
--- ChangeLog	31 Jan 2005 19:45:17 -0000	1.490
+++ ChangeLog	3 Mar 2005 11:15:44 -0000
@@ -1,3 +1,10 @@
+2005-03-03  Mengjie Yu  <meng-jie.yu@sun.com>
+
+	* toolbar.c: (insertion_color_changed_cb), (setup_gi_color_combo):
+	we should connect to the insertion_color_changed signal and handle it.
+
+	Fixes #73216
+
 2005-01-31  Hans Petter Jansson  <hpj@novell.com>
 
 	* spell.[ch]: Renamed to spellchecker.[ch] since the old name would
Index: toolbar.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/toolbar.c,v
retrieving revision 1.71
diff -u -p -r1.71 toolbar.c
--- toolbar.c	20 Jan 2005 10:20:23 -0000	1.71
+++ toolbar.c	3 Mar 2005 11:15:46 -0000
@@ -286,6 +286,13 @@ load_done (GtkHTML *html, GtkHTMLControl
 		g_signal_connect (cd->html, "realize", G_CALLBACK (realize_engine), cd);
 }
 
+static void
+insertion_color_changed_cb (GtkHTML *widget, GdkColor *color, GtkHTMLControlData *cd)
+{
+	gi_color_combo_set_color ((GiColorCombo *) cd->combo, color);
+}
+
+
 static GtkWidget *
 setup_gi_color_combo (GtkHTMLControlData *cd)
 {
@@ -299,7 +306,8 @@ setup_gi_color_combo (GtkHTMLControlData
         g_signal_connect (cd->html, "load_done", G_CALLBACK (load_done), cd);
 
 	cd->combo = gi_color_combo_new (NULL, _("Automatic"), &color->color, color_group_fetch ("toolbar_text", cd));
-        g_signal_connect (cd->combo, "color_changed", G_CALLBACK (color_changed), cd);
+	g_signal_connect (cd->combo, "color_changed", G_CALLBACK (color_changed), cd);
+	g_signal_connect (cd->html, "insertion_color_changed", G_CALLBACK (insertion_color_changed_cb), cd);
 
 	gtk_widget_show_all (cd->combo);
 	return cd->combo;
