aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-07-15 15:27:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-22 17:46:18 +0800
commitf2b53c32d44e3a670f266f542c571ff345cbfe55 (patch)
treed6efcfbac92b48a019b8aeaca06a7cd928ed5caf /libempathy-gtk/empathy-contact-widget.c
parent7a41e2170d529039dfa14cdeeae067b916dad3cb (diff)
downloadgsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar.gz
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar.bz2
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar.lz
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar.xz
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.tar.zst
gsoc2013-empathy-f2b53c32d44e3a670f266f542c571ff345cbfe55.zip
Don't show the presence twice
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 3a08b6f26..531f8e410 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1436,8 +1436,10 @@ contact_widget_contact_update (EmpathyContactWidget *information)
gtk_widget_show (information->label_alias);
gtk_widget_show (information->widget_alias);
- gtk_widget_show (information->hbox_presence);
gtk_widget_show (information->widget_avatar);
+
+ gtk_widget_set_visible (information->hbox_presence,
+ !(information->flags & EMPATHY_CONTACT_WIDGET_NO_STATUS));
}
else
{