[Pidgin] #4573: Simple GCompareFunc-y API for adding sort methods to the buddy list
Pidgin
trac at pidgin.im
Sat Jan 5 07:03:44 EST 2008
#4573: Simple GCompareFunc-y API for adding sort methods to the buddy list
--------------------------+-------------------------------------------------
Reporter: resiak | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.3.1
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
I just looked at the API for adding sort methods to the Pidgin buddy list.
The signature of sorting functions,
[http://developer.pidgin.im/doxygen/2.0.0/html/gtkblist_8h.html#e5001cabbbf30a90fecb55e46ff09016
pidgin_blist_sort_function], is relatively opaque and intimidating. Aside
from someone who understands this stuff already (which probably means
"someone who's worked with `GtkTreeViews`") documenting it, it'd be slick
if new sort methods could be added by specifying a `GCompareFunc` to
compare two `PurpleBlistNodes`.
(Were this the case, it'd be trivial to write a "Mountains of Sort
Methods" plugin to add alphabetical by screen name, sorted by last talked
to, etc. methods, silencing a particular class of FAQ!)
--
Ticket URL: <http://developer.pidgin.im/ticket/4573>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list