PidginCellRendererExpander

Jorge VillaseƱor salinasv at gmail.com
Wed Dec 23 01:03:52 EST 2015


On Mon, Dec 21, 2015 at 11:03 AM, Ethan Blanton <elb at pidgin.im> wrote:

> Jorge VillaseƱor spake unto us the following wisdom:
> > I just noticed that we have a PidginCellRendererExpander object which is
> a
> > child of GtkCellRenderer.
> >
> > A quick grep/find shows no code using it. I presume it is dead code.
>
> What about, e.g., gtkblist.c:5614?
>
> > Does anybody knows why do we have this? What is the purpose? Is someone
> > using it?
>
> It is the little triangle disclosure things in the blist.
>
> Ethan
>

Yeah, it is true, it is used by gtkblist.

I just read a little bit more on how we use it and I think we only need
this class to be able
to hide/show the triangle for the Contact. Is this correct?

Isn't there any other way to achieve this? I found GtkExpander, but it
doesn't allow to
hide/show the triangle.

Should we send this code as a patch to Gtk+ so it get's upstreamed?

-- 
Masca

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/devel/attachments/20151222/000f89b6/attachment.html>


More information about the Devel mailing list