Patch to fix 339691(gtkhtml)

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

Here is patch to fix http://bugzilla.gnome.org/show_bug.cgi?id=339691
Please spend a little time to review it.
Thank you very much.

Regards,
Li

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
apr25-339691.diff (text/x-patch, 1.1 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/ChangeLog,v
retrieving revision 1.31
diff -u -r1.31 ChangeLog
--- ChangeLog	1 Mar 2006 07:41:24 -0000	1.31
+++ ChangeLog	25 Apr 2006 11:33:03 -0000
@@ -1,3 +1,9 @@
+2006-04-25  Li Yuan  <[email protected]>
+
+	* object.c: (gtk_html_a11y_new):
+	we should call our callback function first to set the gail-focus-object 
+	field of html.
+
 2006-03-01  Simon Zheng  <[email protected]>
 
 	* factory.c: (gtk_html_accessibility_init):Initilize only when accessibility
Index: object.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/object.c,v
retrieving revision 1.15
diff -u -r1.15 object.c
--- object.c	1 Mar 2006 07:41:24 -0000	1.15
+++ object.c	25 Apr 2006 11:33:03 -0000
@@ -408,7 +408,7 @@
 	atk_object_initialize (accessible, widget);
 
 	accessible->role = ATK_ROLE_PANEL;
-	g_signal_connect_after (widget, "grab_focus", 
+	g_signal_connect (widget, "grab_focus", 
 			G_CALLBACK (gtk_html_a11y_grab_focus_cb),
 			NULL);
 	g_signal_connect (widget, "cursor_changed",
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.