aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-04 20:11:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-04 20:11:09 +0800
commit4e532114814f39740a5695c35fc02b465bbce2e1 (patch)
treeb4680b6d76ea40f82cb094614dc03a1d44405d65 /libempathy-gtk
parentd3c53c44780da382ed2bf17fbcff9d71b234e48d (diff)
downloadgsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar.gz
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar.bz2
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar.lz
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar.xz
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.tar.zst
gsoc2013-empathy-4e532114814f39740a5695c35fc02b465bbce2e1.zip
roster-contact: force the size of the avatar
This ensures that all the contacts are nicely aligned even if they have a smaller avatar.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-roster-contact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-contact.c b/libempathy-gtk/empathy-roster-contact.c
index 6e2014aaf..ba498d289 100644
--- a/libempathy-gtk/empathy-roster-contact.c
+++ b/libempathy-gtk/empathy-roster-contact.c
@@ -397,6 +397,8 @@ empathy_roster_contact_init (EmpathyRosterContact *self)
/* Avatar */
self->priv->avatar = gtk_image_new ();
+ gtk_widget_set_size_request (self->priv->avatar, AVATAR_SIZE, AVATAR_SIZE);
+
gtk_box_pack_start (GTK_BOX (main_box), self->priv->avatar, FALSE, FALSE, 0);
gtk_widget_show (self->priv->avatar);