Robert Laing wrote:
> I get an error message
>
> "(appname:804): GLib-GObject-WARNING **: gobject.c:913: object class
> `GnomeProgram' has no property named `default-icon'"
>
> when I run code along the following lines:
>
>
> #!/usr/bin/env python
>
> import gnome.ui, gtk.glade
>
> program = gnome.init('project1', '0.1')
> gnome.ui.gnome_window_icon_set_default_from_file('/usr/share/pixmaps/app.png')
>
> wTree = gtk.glade.XML('project1.glade')
> gtk.main()
>
>
> The line gnome.ui.gnome_window_icon_set_default_from_file() sets the
> default-icon fine. But is the muttering at the command line just a
> "work in progress" little glitch or is there some initialisation I've
> missed out?
Could you try upgrading to the latest version of libgnome?
James.
--
Email: [EMAIL PROTECTED] | Linux.conf.au http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/