aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-13 20:48:44 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-13 20:48:44 +0800
commit3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d (patch)
tree7b989195121a19c8e16791571ef217b78881aae9 /libempathy
parent4b461d83b002421157a01cf8081b735af162cd13 (diff)
downloadgsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar.gz
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar.bz2
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar.lz
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar.xz
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.tar.zst
gsoc2013-empathy-3d8a07ffe7cdf6c929abf991eaaf8fe1370e6f5d.zip
Remove unused nickname entry and use a GtkTable for room information. More
2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-new-chatroom-dialog.glade: Remove unused nickname entry and use a GtkTable for room information. More work is needed here. * libempathy-gtk/empathy-contact-widget.glade: Change padding to 6. * libempathy-gtk/empathy-contact-dialogs.c: Set a window title. * libempathy-gtk/empathy-contact-widget.c: Fix alignment of widgets. * libempathy/empathy-tp-contact-list.c: Add more debug msg for avatar handling. svn path=/trunk/; revision=184
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index 213e5c6ba..17e2fcb51 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -1654,6 +1654,9 @@ tp_contact_list_start_avatar_requests (EmpathyTpContactList *list)
priv = GET_PRIV (list);
+ empathy_debug (DEBUG_DOMAIN, "Start avatar requests, queue size: %d",
+ n_avatar_requests);
+
while (n_avatar_requests < MAX_AVATAR_REQUESTS &&
priv->avatar_requests_queue) {
data = g_slice_new (TpContactListAvatarRequestData);
@@ -1664,6 +1667,7 @@ tp_contact_list_start_avatar_requests (EmpathyTpContactList *list)
priv->avatar_requests_queue = g_list_remove (priv->avatar_requests_queue,
priv->avatar_requests_queue->data);
+ empathy_debug (DEBUG_DOMAIN, "Calling RequestAvatar async");
tp_conn_iface_avatars_request_avatar_async (priv->avatars_iface,
data->handle,
(tp_conn_iface_avatars_request_avatar_reply)
@@ -1711,6 +1715,10 @@ tp_contact_list_request_avatar_cb (DBusGProxy *proxy,
} else {
EmpathyAvatar *avatar;
+ empathy_debug (DEBUG_DOMAIN, "Avatar received for %s (%d)",
+ empathy_contact_get_id (contact),
+ data->handle);
+
avatar = empathy_avatar_new (avatar_data->data,
avatar_data->len,
mime_type);