The __getattr__ code for GtkTreeItem in gtk.py doesn't work.
For one, it reads:
if attrs.has_key(attrs):
That should have been
if attrs.has_key(attr):
and secondly, python dumps a core when I try
widget.subtree
when the GtkTreeItem has no subtree, yet. Here is the stack
trace:
#0 0xef4db06c in _wrap_GTK_OBJECT_TYPE (self=0x0, args=0xc5058)
at gtkmodule_impl.c:426
#1 0x1e53c in call_builtin (func=0xb8040, arg=0xc5058, kw=0x0) at ceval.c:2359
#2 0x1e408 in PyEval_CallObjectWithKeywords (func=0xb8040, arg=0xc5058,
kw=0x0) at ceval.c:2324
...
--
Dipl. Inf. (FH) Aaron "Optimizer" Digulla
"(to) optimize: Make a program faster by
improving the algorithms rather than by
buying a faster machine."
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]