From c165c12334cc6c9e5461425a3913da99887fa1f6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 28 Mar 2006 20:17:13 +0000 Subject: [PATCH] fix status for gc vcard. Fixes #1765 --- src/vcard.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vcard.py b/src/vcard.py index 87a9b0316..a4f26baaf 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -329,7 +329,9 @@ class VcardWindow: c.last_status_time).decode(locale.getpreferredencoding()) one = False elif not self.vcard: # Maybe gc_vcard ? - stats = self.contact.status + stats = helpers.get_uf_show(self.contact.show) + if self.contact.status: + stats += ': ' + self.contact.status status_label = self.xml.get_widget('status_label') status_label.set_max_width_chars(15) status_label.set_text(stats)