pidgin/gtkblist.h

changeset 18545
5af898e91ec2
parent 18274
b4eb1720fddf
child 18970
ef13a2231e36
--- a/pidgin/gtkblist.h	Sat May 26 13:48:41 2007 +0000
+++ b/pidgin/gtkblist.h	Sun Jul 01 00:55:03 2007 +0000
@@ -360,4 +360,14 @@
 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.
+ * @param aliased  TRUE to return the appropriate alias of this buddy, FALSE to return its screenname
+ * @return The markup for this buddy
+ */
+gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected, gboolean aliased);
+
 #endif /* _PIDGINBLIST_H_ */

mercurial