[evolution-patches] patch for a11y warnings in addressbook



hi, hpj

Attach is the patch to reduce the warnings when running contacts in Evolution 2.2 with accessibility .
It has been checked up with gok .

Would you like to spend a little time to review it, please?
Thanks.

Best regards
hao.sheng

? addressbook/.ea-addressbook.c.swp
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/a11y/ChangeLog,v
retrieving revision 1.24
diff -u -p -r1.24 ChangeLog
--- ChangeLog	2 Dec 2004 02:51:24 -0000	1.24
+++ ChangeLog	5 Dec 2004 07:19:50 -0000
@@ -1,3 +1,17 @@
+2004-12-5   Harry Lu <harry lu sun com>
+
+	* addressbook/ea-addressbook.c:
+	(ea_addressbook_focus_watcher): use object instead of 
+	ATK_OBJECT (minicard)
+
 2004-12-1   Hao Sheng <hao sheng sun com>
 
 	* a11y/addressbook/ea-minicard.c:
Index: addressbook/ea-addressbook.c
===================================================================
RCS file: /cvs/gnome/evolution/a11y/addressbook/ea-addressbook.c,v
retrieving revision 1.2
diff -u -p -r1.2 ea-addressbook.c
--- addressbook/ea-addressbook.c	8 Nov 2004 06:12:18 -0000	1.2
+++ addressbook/ea-addressbook.c	5 Dec 2004 07:19:51 -0000
@@ -75,9 +75,8 @@ ea_addressbook_focus_watcher (GSignalInv
 	event = g_value_get_boxed (param_values + 1);
 
 	if (E_IS_MINICARD (object)) {
-		EMinicard *minicard = E_MINICARD (object);
                 GnomeCanvasItem *item = GNOME_CANVAS_ITEM (object);
-		ea_event = atk_gobject_accessible_for_object (ATK_OBJECT (minicard));
+		ea_event = atk_gobject_accessible_for_object (object);
 		if (event->type == GDK_FOCUS_CHANGE) {
 			if ((event->focus_change.in) && (E_IS_MINICARD (item->canvas->focused_item)))
 				atk_focus_tracker_notify (ea_event);


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