uf_show for vcard

This commit is contained in:
Nikos Kouremenos 2005-08-03 10:59:44 +00:00
parent 6591574a8a
commit 5ffbf2dbc0
1 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,8 @@ import base64
import mimetypes import mimetypes
import os import os
import dialogs import dialogs
from common import helpers
from common import gajim from common import gajim
from common import i18n from common import i18n
_ = i18n._ _ = i18n._
@ -270,7 +272,9 @@ class VcardWindow:
+ str(self.contact.priority) + str(self.contact.priority)
if not self.contact.status: if not self.contact.status:
self.contact.status = '' self.contact.status = ''
stats = self.contact.show # holds show and status message
# stats holds show and status message
stats = helpers.get_uf_show(self.contact.show)
if self.contact.status: if self.contact.status:
stats += ': ' + self.contact.status stats += ': ' + self.contact.status
gajim.connections[self.account].request_os_info(self.contact.jid, gajim.connections[self.account].request_os_info(self.contact.jid,