After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 537956 - Many many wrong documentation items about actions
Many many wrong documentation items about actions
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-12 09:45 UTC by Yann Dirson
Modified: 2008-06-13 15:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yann Dirson 2008-06-12 09:45:31 UTC
In fact, the documentation seems to be inconsistent and wrong in some places:

- the Node class doctring says all actions, including eg. "activate" are available as method calls, which is obviously wrong
- the Node::click() docstring correctly says that what is true for "click" is not for other actions...

... BUT it says all other actions must be invoked through "doAction", which apparently does not work.  I was only able to get things work by calling the action's do() method

... and then that was only after I realized that a Node's "actions" field is not a list as documented, but a dictionnary, hashed by the action name!
Comment 1 Zack Cerza 2008-06-13 15:01:41 UTC
I fixed a lot of this in SVN. Please reopen or file new bugs if you find more documentation problems there. Thanks!