aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.h
diff options
context:
space:
mode:
authorchantra <chantra@debuntu.org>2009-12-17 00:20:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-17 00:22:01 +0800
commitfbaeb693027d63d94488702635630644971dfc2f (patch)
tree9b58024f0089129e197824550b68ee1f30fbea05 /libempathy-gtk/empathy-ui-utils.h
parentd6152461b68592397130f5df2dd285b5651eb460 (diff)
downloadgsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar.gz
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar.bz2
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar.lz
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar.xz
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.tar.zst
gsoc2013-empathy-fbaeb693027d63d94488702635630644971dfc2f.zip
contact_list: displays an icon showing the protocol by the contact (#603877)
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r--libempathy-gtk/empathy-ui-utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 0eacd49b8..925ecc5cb 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -63,6 +63,7 @@ GtkWidget *empathy_builder_unref_and_keep_widget (GtkBuilder *gui,
/* Pixbufs */
const gchar * empathy_icon_name_for_presence (TpConnectionPresenceType presence);
const gchar * empathy_icon_name_for_contact (EmpathyContact *contact);
+const gchar * empathy_protocol_name_for_contact (EmpathyContact *contact);
GdkPixbuf * empathy_pixbuf_from_data (gchar *data,
gsize data_size);
GdkPixbuf * empathy_pixbuf_from_data_and_mime (gchar *data,
@@ -74,6 +75,14 @@ GdkPixbuf * empathy_pixbuf_from_avatar_scaled (EmpathyAvatar *avata
GdkPixbuf * empathy_pixbuf_avatar_from_contact_scaled (EmpathyContact *contact,
gint width,
gint height);
+GdkPixbuf * empathy_pixbuf_protocol_from_contact_scaled (EmpathyContact *contact,
+ gint width,
+ gint height);
+GdkPixbuf * empathy_pixbuf_contact_status_icon (EmpathyContact *contact,
+ gboolean show_protocol);
+GdkPixbuf * empathy_pixbuf_contact_status_icon_with_icon_name (EmpathyContact *contact,
+ const gchar *icon_name,
+ gboolean show_protocol);
GdkPixbuf * empathy_pixbuf_scale_down_if_necessary (GdkPixbuf *pixbuf,
gint max_size);
GdkPixbuf * empathy_pixbuf_from_icon_name (const gchar *icon_name,