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 405548 - Node.selectedChildren doesn't work
Node.selectedChildren doesn't work
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Framework
0.6.1
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-07 22:16 UTC by Daniel Drake
Modified: 2007-02-08 21:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.39 KB, patch)
2007-02-07 22:18 UTC, Daniel Drake
committed Details | Review

Description Daniel Drake 2007-02-07 22:16:40 UTC
The logic behind node.selectedChildren is rather strange:

"if we have a parent, and the parent implements the selection interface, then get then create a list of my own selected children"

I don't think the properties of the parent have any relevence here.
selectedChildren() didn't work for me until I wrote this patch.
Comment 1 Daniel Drake 2007-02-07 22:18:44 UTC
Created attachment 82123 [details] [review]
fix

I can commit this if it helps at all. Thanks!
Comment 2 Zack Cerza 2007-02-08 21:36:33 UTC
It was a long time ago that I wrote that code, and I seem to remember that there was some strangeness that made me think it had to be that way... nevertheless, you're correct and your patch does fix it. Thanks, and feel free to commit it.
Comment 3 Daniel Drake 2007-02-08 21:49:48 UTC
thanks, done