status in gc vcard. Fixes #1765
This commit is contained in:
parent
65edabfb6c
commit
ac1b00ec8b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue