[evolution-patches] Patch to fix 338048 (gtkhtml)



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
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  <li yuan sun com>
+
+
+	* toolbar.c: (create_style_toolbar):
+	make the toolbar focusable.
+
+	Fix for #338048.
+
 2006-03-22  Andre Klapper  <a9016009 gmx de>
 	* 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;
 }


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