From 4e532114814f39740a5695c35fc02b465bbce2e1 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 4 Jul 2012 14:11:09 +0200 Subject: roster-contact: force the size of the avatar This ensures that all the contacts are nicely aligned even if they have a smaller avatar. --- libempathy-gtk/empathy-roster-contact.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libempathy-gtk') 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); -- cgit v1.2.3