Re: Bonobo toolbar pixmaps.



Gene & Nat,

One approach would be to use the ArtPixbuf inside the GdkPixbuf as the
lingua franca. That way, bonobo would have to depend on libart in GNOME but
not on GdkPixbuf. Would that be an acceptable dependency?

John


on 3/24/00 3:50 PM, Nat Friedman at nat@helixcode.com wrote:

> 
> "Gene Z. Ragan" <gzr@eazel.com> writes:
> 
>> Nat,
>> 
>> Hi, my name is Gene Ragan and I work at Eazel.  Before Eazel I
>> worked on icecast and some other open source goodies.
>> 
>> Anyway, I was handed the task of making icons show up in bonobo menu
>> items.  The internal nautilus structure that we use stores the icon data
>> as a GdkPixbuf.  Internally, I modified the source of bonobo to handle
>> RGB and RGBA data as a GdkPixbuf.  This may be offensive to the bonobo
>> maintainers as it now requires a link against gdk-pixbuf.
>> 
>> I had two thoughts, we could have bonobo support GdkPixbufs or there
>> could be a bonobo specific structure defined that can package up rgb
>> data.  Either solution works for me.
> 
> Hi Gene,
> 
> I'm glad you are doing this work.  My personal feeling is that
> I don't care if Bonobo depends on Gdk-pixbuf.  But until Gdk-pixbuf is
> in Gtk, it does make me a bit uncomfortable.
> 
> What I did to avoid a libxml dependency was to isolate all the XML
> code in a separate library: libbonobo-xml.  Of course, the net result
> has been that no one has used that code.  So maybe that's not what you
> want to do.
> 
> Can gdk-pixbuf render to some sort of usable RGBA format?  If so,
> we might want to use that for now, and then later provide a wrapper
> which allows you to pass a GdkPixbuf directly.  That would avoid a
> link against gdk-pixbuf for now.
> 
> Can we see the patch?
> 
> Nat
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]