After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111093 - GnomeProgram has no default-icon
GnomeProgram has no default-icon
Status: RESOLVED DUPLICATE of bug 109407
Product: gnome-python
Classification: Deprecated
Component: gnome
1.99.x
Other Linux
: Normal normal
: ---
Assigned To: Python bindings maintainers
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-18 17:36 UTC by Lars Wirzenius
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The Glade file to replicate the bug (10.10 KB, text/plain)
2003-04-18 17:38 UTC, Lars Wirzenius
Details

Description Lars Wirzenius 2003-04-18 17:36:56 UTC
When I run a very simple project made with Glade-2 (a GnomeApp window with
a placeholder GtkLabel in the application area) I get the following warning
message:

$ LC_MESSAGES=C ./lodju-new2
                                                                          
     
(lodju-new2:5199): GLib-GObject-WARNING **: gobject.c:946: object class
`GnomeProgram' has no property named `default-icon'

I have, however, set the icon for the GnomeApp widget in Glade-2 and the
icon show correctly in top Metacity window title bar, and in the panel
window list. Everything seems to work fine, but the warning message is a
bit annoying.

I'll happily provide the .glade and .py files.
Comment 1 Lars Wirzenius 2003-04-18 17:38:08 UTC
Created attachment 15835 [details]
The Glade file to replicate the bug
Comment 2 Lars Wirzenius 2003-04-18 17:40:06 UTC
LODJU_GLADE = "lodju.glade"
                                                                     
          
import sys
import pygtk
pygtk.require('2.0')
import gtk
import gtk.glade
import gnome
import gnome.ui
 
def on_main_window_delete_event(*args):
    gtk.main_quit()
    return gtk.FALSE
 
gnome.init("lodju-new2", "0.0.0.0.0")
xml = gtk.glade.XML(LODJU_GLADE)
xml.signal_autoconnect(locals())
gtk.main()
Comment 3 James Henstridge 2003-06-18 14:55:45 UTC
Thanks for the bug report.  This looks like a duplicate.

*** This bug has been marked as a duplicate of 109407 ***