> The buttons are most likely sharing the same style object.  To get around
> this, use code like:
> 
>   # get a copy of the style object ...
>   style = button.get_style().copy()
>   style.whatever = somevalue
>   button.set_style(style)

Thanks, I now understand -- but in fooling around I think I've found a
bug in gtkmodule.c, in PyGtkStyleHelper_SetItem().  It's impossible to
change the bg_pixmap successfully without hitting the
g_assert_not_reached(), because there's no 'return 0;' in the
STYLE_PIXMAP_ARRAY case of the switch.

This is my understanding from looking at the 0.6.1 source (that's the
latest version of the source I have handy, but whatever the reason,
I'm definitely still hitting that assert with 0.6.3 because I
installed that with the October Gnome rpms).  

Cheers,
-Rob

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to