pres_obj.show is already unicode version of show

This commit is contained in:
Yann Leboulanger 2011-08-09 11:38:58 +02:00
parent 96b1cc524d
commit 70c3245a45
1 changed files with 1 additions and 2 deletions

View File

@ -2104,8 +2104,7 @@ class NotificationEvent(nec.NetworkIncomingEvent):
{'nick': gajim.get_name_from_jid(account, self.jid)}
self.popup_text = _('%(nick)s is now %(status)s') % \
{'nick': gajim.get_name_from_jid(account, self.jid),\
'status': helpers.get_uf_show(
gajim.SHOW_LIST[pres_obj.show])}
'status': helpers.get_uf_show(pres_obj.show)}
if pres_obj.status:
text = text + " : " + pres_obj.status
self.popup_event_type = _('Contact Changed Status')