[Pidgin] #4573: Simple GCompareFunc-y API for adding sort methods to the buddy list
Pidgin
trac at pidgin.im
Sun Jan 4 11:33:09 EST 2009
#4573: Simple GCompareFunc-y API for adding sort methods to the buddy list
-------------------------+--------------------------------------------------
Reporter: resiak | Owner:
Type: enhancement | Status: new
Milestone: | Component: pidgin (gtk)
Version: 2.3.1 | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by resiak):
I'm not talking about sorting in libpurple. It's just that, currently you
have to write sort functions of the order of (looking at gtkblist.c) 80
lines long, and most of that is boilerplate, pulling the PurpleBlistNodes
back out of the tree model, finding the right place to insert them based
on some ordering relative to other nodes, and then inserting them. It
would be much nicer to be able to just define a total ordering on some
Pidgin-specific buddy structure and leave the GtkTreeStore wrangling to
Pidgin.
--
Ticket URL: <http://developer.pidgin.im/ticket/4573#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list