GNOME Bugzilla – Bug 95315
mechanism to load images from callback.
Last modified: 2011-07-19 23:25:27 UTC
James asked me to post a bug report about this feature request. In Mono we are able to package all of an application's data in the same file. So we can actually distribute a single file that contains everything required to run. One thing that is missing is that libglade does not have a mechanism to allow us to provide pixmaps/images on a callback, but instead goes directly to the harddrive. We need such a mechanism if we want to continue using this feature and take full advantage of Glade. I know we can "poke" things later and stick images manually, but it is not as easy for a developer to do it. One idea would be to have a different constructor: glade_xml_new_from_buffer_full (..., GladeXmlImageResolver resolver) typedef GdkPixbuf (*GladeXmlImageResolver)(char *name); James suggested that he could also add a virtual method, and we could override this method to do it. Embedding everything in a file is extremely sweet, specially considering that the same executable works on all platforms, so we do not even need to repackage things with Mono. We very much would like to have this nice feature.
*** Bug 111860 has been marked as a duplicate of this bug. ***
*** Bug 150619 has been marked as a duplicate of this bug. ***
*** Bug 136780 has been marked as a duplicate of this bug. ***
I've been trying to get a hold of someone to request/implement this feature for a while now and just found this bug. If I make a patch for this is there any chance it will get accepted? Who/where would I send it to?
The GNOME Release team has officially deprecated libglade in favor of GtkBuilder[1]. So it's unlikely to get further development. I am closing bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility for active development. [1] http://permalink.gmane.org/gmane.comp.gnome.devel.announce/28