On Sat, 2003-07-26 at 12:57, Christian Reis wrote: > On Fri, Jul 25, 2003 at 09:20:30PM -0700, Colin Fox wrote: > > 1. When I start it up, I get a warning on the command line saying > > (rtstoy1:4977): GLib-GObject-WARNING **: gobject.c:946: object class > > `GnomeProgram' has no property named `default-icon' > > See http://www.daa.com.au/pipermail/pygtk/2002-September/003486.html -- > does calling gnome_window_icon_set_default_from_file() (ugh) help? Let > me know so I can update the FAQ.
It didn't make any difference. I still get the exact same error. However, what is the default icon for? If it's for the titlebar & the panel (showing the currently active program), the icon that I set from Glade works fine, though I'm still getting the error...? > > > 3. The GtkToggleButton doesn't seem to have an 'active' property any > > more, even though it appears in the documentation. Is this a bug or an > > oversight? Or am I supposed to use something else to determine the state > > of a toggle button? > > Are you using get_property()? It used to be an instance variable in > PyGTK-0. Ah! That was it. Thanks! It's interesting that I didn't need to use get_property() with the menu, just the widget. -- Colin Fox <[EMAIL PROTECTED]> CF Consulting Inc.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
