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 95315 - mechanism to load images from callback.
mechanism to load images from callback.
Status: RESOLVED WONTFIX
Product: libglade
Classification: Deprecated
Component: general
CVS HEAD
Other other
: Normal enhancement
: ---
Assigned To: James Henstridge
James Henstridge
: 111860 136780 150619 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-10-09 17:34 UTC by Miguel de Icaza
Modified: 2011-07-19 23:25 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Miguel de Icaza 2002-10-09 17:34:25 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.
Comment 1 Matthias Clasen 2004-01-19 09:56:32 UTC
*** Bug 111860 has been marked as a duplicate of this bug. ***
Comment 2 James Henstridge 2004-11-09 07:13:12 UTC
*** Bug 150619 has been marked as a duplicate of this bug. ***
Comment 3 James Henstridge 2004-11-09 07:15:50 UTC
*** Bug 136780 has been marked as a duplicate of this bug. ***
Comment 4 Erich Hoover 2008-11-18 23:45:58 UTC
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?
Comment 5 Fabio Durán Verdugo 2011-07-19 23:25:27 UTC
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