GNOME Bugzilla – Bug 405548
Node.selectedChildren doesn't work
Last modified: 2007-02-08 21:49:48 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.
Created attachment 82123 [details] [review] fix I can commit this if it helps at all. Thanks!
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.
thanks, done