Re: simplelist speed



muppet <scott asofyet org> writes:

On Jan 5, 2005, at 11:35 PM, Dan Espen wrote:

I've got it working for backgrounds, but foregrounds give me:

GLib-GObject-WARNING **: g_object_set_property:
 object class `GtkCellRendererText'
 has no property named `cell_foreground_gdk' at colorize.pl line 71.

according to the Gtk2::CellRendererText manpage's listing of object 
properties, it should be 'foreground_gdk', not 'cell_foreground_gdk'.

Well, that's very weird.  As I said I'm testing this with a copy of
color_list.pl.  Just changed cell_background_gdk to foreground_gdk
and got this:

GLib-GObject-WARNING **: g_object_set_property:
 object class `GtkCellRendererToggle' has no property named
 `foreground_gdk' at colorize.pl line 71.

The weird part?  The foreground colors changed.

OK, I see.  I took the 'bool' field out of the list and
it doesn't complain anymore.  I don't have any bool fields,
but if I did I'd have to avoid them.

Thanks.
-- 
Dan Espen                           E-mail: dane mk telcordia com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]