diff pidgin/gtkutils.h @ 27943:684690dbda4a

propagate from branch 'im.pidgin.pidgin' (head f92d95c83baba97463f923077688ba2eb144763b) to branch 'im.pidgin.pidgin.yaz' (head ae2b51da61a998a69de04124f2696ce2a419a7b3)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 01 May 2009 20:44:30 +0000
parents f3ccb5a36fd6 89f613b16e2b
children f44718de8b06
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Fri Apr 24 07:43:08 2009 +0000
+++ b/pidgin/gtkutils.h	Fri May 01 20:44:30 2009 +0000
@@ -569,6 +569,27 @@
  */
 GdkPixbuf * pidgin_create_status_icon(PurpleStatusPrimitive primitive, GtkWidget *w, const char *size);
 
+/**
+ * Returns an appropriate stock-id for a status primitive.
+ *
+ * @param prim   The status primitive
+ *
+ * @return The stock-id
+ *
+ * @since 2.6.0
+ */
+const char *pidgin_stock_id_from_status_primitive(PurpleStatusPrimitive prim);
+
+/**
+ * Returns an appropriate stock-id for a PurplePresence.
+ *
+ * @param presence   The presence.
+ *
+ * @return The stock-id
+ *
+ * @since 2.6.0
+ */
+const char *pidgin_stock_id_from_presence(PurplePresence *presence);
 
 /**
  * Append a PurpleMenuAction to a menu.