status in gc vcard. Fixes #1765

This commit is contained in:
Yann Leboulanger 2006-03-28 14:51:02 +00:00
parent 65edabfb6c
commit ac1b00ec8b
1 changed files with 2 additions and 0 deletions

View File

@ -328,6 +328,8 @@ class VcardWindow:
stats += '\n' + _('since %s') % time.strftime('%c', stats += '\n' + _('since %s') % time.strftime('%c',
c.last_status_time).decode(locale.getpreferredencoding()) c.last_status_time).decode(locale.getpreferredencoding())
one = False one = False
elif not self.vcard: # Maybe gc_vcard ?
stats = self.contact.status
status_label = self.xml.get_widget('status_label') status_label = self.xml.get_widget('status_label')
status_label.set_max_width_chars(15) status_label.set_max_width_chars(15)
status_label.set_text(stats) status_label.set_text(stats)