Description of problem: When I run the app: > system-config-selinux /usr/share/system-config-selinux/system-config-selinux.py:70: Warning: IA__g_object_get_valist: object class `GnomeProgram' has no property named `default-icon' xml = gtk.glade.XML ("system-config-selinux.glade", domain=PROGNAME) How do I prevent this warning?
The warning means that the system-config-selinux.glade file contains a specification for creating an instance of the GnomeProgram class (from libgnome), and in that specification is a directive to set a property called 'default-icon'. But according to the GnomeProgram documentation [1], there is no such property. The solution may be as simple as deleting that line from the glade file, but we should first determine how it got there and why. My guess is the problem lies either in the system-config-selinux program or in glade itself. I think it's unlikely that the problem is with pygtk2. FWIW, there is a gtk_window_set_default_icon() function in GTK+, which may be what was intended. But even the GtkWindow class does not appear to have a 'default-icon' property. [1] http://developer.gnome.org/doc/API/2.0/libgnome/libgnome-gnome-program.html
Created attachment 142183 [details] Here is the glade file If you install policycoreutils-gui, you can see it.
Digging into this further, I learned that while the GnomeProgram class in libgnome has no "default-icon" property, libgnomeui extends the class by adding said property, among others. My original hunch was wrong, since neither "default-icon" nor "GnomeProgram" appear in the glade file. My revised hunch is that the non-extended GnomeProgram class (from libgnome, not libgnomeui) is getting instantiated. I still don't know why loading the glade file would trigger the warning, but it does indeed seem to be a bug in the Python bindings at some level. I'll continue to investigate.
Are you still seeing this problem on Fedora 8 Test 2 or later?
system-config-selinux /usr/share/system-config-selinux/system-config-selinux.py:71: Warning: IA__g_object_get_valist: object class `GnomeProgram' has no property named `default-icon' xml = gtk.glade.XML ("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)
Apparently, one needs to use the LIGNOMEUI_MODULE to make those additional properties known: /* use #gnome_program_init with the LIBGNOMEUI_MODULE */
Updating version to Fedora 8.
*** Bug 426134 has been marked as a duplicate of this bug. ***
*** Bug 430838 has been marked as a duplicate of this bug. ***
This bug is still present in Fedora 9.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
this bug is still present in Fedora 11
Can confirm this is still present with most current policycoreutils on Fedora 11: policycoreutils-2.0.62-12.12.fc11.x86_64.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Can confirm this issue is still present with policycoreutils-gui-2.0.82-4.fc12.x86_64.
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping