diff pidgin/gtkblist.h @ 18181:a8c701d877aa

Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
author Sean Egan <seanegan@gmail.com>
date Tue, 19 Jun 2007 02:11:50 +0000
parents 247e421c4fa6
children 84b577372b90
line wrap: on
line diff
--- a/pidgin/gtkblist.h	Mon Jun 18 19:24:10 2007 +0000
+++ b/pidgin/gtkblist.h	Tue Jun 19 02:11:50 2007 +0000
@@ -360,4 +360,13 @@
 void pidgin_blist_set_headline(const char *text, GdkPixbuf *pixbuf, GCallback callback, gpointer user_data,
 		GDestroyNotify destroy);
 
+/**
+ * Returns a buddy's Pango markup appropriate for setting in a GtkCellRenderer.
+ *
+ * @param buddy The buddy to return markup from
+ * @param selected  Whether this buddy is selected. If TRUE, the markup will not change the color.
+ * @return The markup for this buddy
+ */
+gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected);
+
 #endif /* _PIDGINBLIST_H_ */