Patch to fix 338048 (gtkhtml)

Li Yuan <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi,

Here is a patch to fix http://bugzilla.gnome.org/show_bug.cgi?id=338048.
Please help me to review it.
Thank you very much.

Regards,
Li

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
apr11-338048.diff (text/x-patch, 1.1 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/ChangeLog,v
retrieving revision 1.531
diff -u -r1.531 ChangeLog
--- ChangeLog	22 Mar 2006 01:43:21 -0000	1.531
+++ ChangeLog	11 Apr 2006 07:42:48 -0000
@@ -1,3 +1,11 @@
+2006-04-11  Li Yuan  <[email protected]>
+
+
+	* toolbar.c: (create_style_toolbar):
+	make the toolbar focusable.
+
+	Fix for #338048.
+
 2006-03-22  Andre Klapper  <[email protected]>
 	* GNOME_GtkHTML_Editor.xml.in: 
 	* GNOME_GtkHTML_Editor-emacs.xml.in: 
Index: toolbar.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/toolbar.c,v
retrieving revision 1.74
diff -u -r1.74 toolbar.c
--- toolbar.c	11 Sep 2005 04:04:19 -0000	1.74
+++ toolbar.c	11 Apr 2006 07:42:49 -0000
@@ -685,8 +685,6 @@
 	gtk_widget_show_all (hbox);
 
 	toolbar_update_format (cd);
-	GTK_WIDGET_UNSET_FLAGS (cd->toolbar_style, GTK_CAN_FOCUS);
-	gtk_container_forall (GTK_CONTAINER (cd->toolbar_style), unset_focus, NULL);
 
 	return hbox;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.