GNOME Bugzilla – Bug 140059
gnome.init() does not support gnome_program_init parameters
Last modified: 2004-12-22 21:47:04 UTC
gnome_program_init API is: gnome_program_init (const char *app_id, const char *app_version, const GnomeModuleInfo *module_info, int argc, char **argv, const char *first_property_name, ...); However, the python equivalent gnome.init() does not support the property list, like the C API. We need to support this.
With the current API, this is essentially unsolveable. Even if gnome_program_init() didn't require varargs, there would still be problems, since some of the GnomeProgram properties aren't registered until you call gnome_program_init()! Also, since the properties are construct only, we can't set them afterwards ...
You right. I tried hard to figure a way to make this work, but it appears not to be possible. And I guess it's too late to patch libgnome. We have to wait for gnome 2.8 :-(
OK, fixed in HEAD, with new 2.8 API.