[evolution-patches] Patch for #73144  (patch attached)
- From: Mengjie Yu <Meng-Jie Yu Sun COM>
 
- To: Radek Doulik <rodo ximian com>
 
- Cc: evolution-patches <evolution-patches lists ximian com>
 
- Subject: [evolution-patches] Patch for #73144  (patch attached)
 
- Date: Tue, 01 Mar 2005 19:11:34 +0800
 
hi, rodo
I am sorry that I forgot to send the patch.
Here it is.
Yours,
Mengjie
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/ChangeLog,v
retrieving revision 1.20
diff -u -p -r1.20 ChangeLog
--- ChangeLog	23 Feb 2005 11:14:03 -0000	1.20
+++ ChangeLog	1 Mar 2005 10:55:31 -0000
@@ -1,3 +1,10 @@
+2005-03-01  Mengjie Yu  <meng-jie yu sun com>
+
+	* object.c: (gtk_html_a11y_new):we need to notify gnopernicus
+	our current focus_object.  
+
+	Fixes #73144
+
 2005-02-22  Mengjie Yu  <meng-jie yu sun com>
 
 	* object.c: (gtk_html_a11y_get_focus_object),
Index: object.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/object.c,v
retrieving revision 1.10
diff -u -p -r1.10 object.c
--- object.c	23 Feb 2005 11:14:03 -0000	1.10
+++ object.c	1 Mar 2005 10:55:32 -0000
@@ -389,7 +389,7 @@ AtkObject* 
 gtk_html_a11y_new (GtkWidget *widget)
 {
 	GObject *object;
-	AtkObject *accessible;
+	AtkObject *accessible, *focus_object;
 
 	g_return_val_if_fail (GTK_IS_HTML (widget), NULL);
 
@@ -415,6 +415,13 @@ gtk_html_a11y_new (GtkWidget *widget)
 	html_utils_get_accessible(GTK_HTML(widget)->engine->clue, accessible);
 
 	/* printf ("created new gtkhtml accessible object\n"); */
+
+	focus_object = gtk_html_a11y_get_focus_object (widget);  
+
+	if (focus_object && gtk_html_a11y_focus_object != focus_object) {
+		gtk_html_a11y_focus_object = focus_object;
+		g_object_set_data (G_OBJECT (accessible), "gail-focus-object", focus_object);
+	}
 
 	return accessible;
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]