CVSROOT: /cvs/gnome
Module name: dogtail
Changes by: zcerza 06/04/13 10:25:59
Modified files:
. : ChangeLog
dogtail : tree.py
sniff : sniff sniff.glade
Log message:
* dogtail/tree.py: Change the way Node reports that attributes
provided by specialized Accessible interface extensions do not apply. For
example, for some instance 'foo', trying to access 'foo.text' when the
AccessibleText interface is not available for that node will now return None
instead of raising an AttributeError (if it were available, and the text was
zero-length, it would have returned ''). Trying to access 'foo.children' will
return [] instead of raising an AttributeError. The reason for this change is
that these conditions are not "exceptional". Trying to access
'foo.thisIsANonexistentAttribute' would be exceptional. Also, add a
ReadOnlyError exception which is raised when, for example, someone tries to set
'foo.text' when 'foo' does not have an AccessibleEditableText implementation.
* sniff/sniff: Update Sniff to reflect the removal of most of Node's
AttributeErrors.
* sniff/sniff.glade: Use a GtkWindow instead of a GnomeApp. The latter
was unnecessary and forced us to use widgets we didn't want.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=dogtail&who=zcerza&date=explicit&mindate=2006-04-13%2010:24&maxdate=2006-04-13%2010:26
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list