From 70c3245a451840b8aaabffec303ef8d0679845f9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 9 Aug 2011 11:38:58 +0200 Subject: [PATCH] pres_obj.show is already unicode version of show --- src/common/connection_handlers_events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/connection_handlers_events.py b/src/common/connection_handlers_events.py index 0ab7a0d5e..696d1f1ac 100644 --- a/src/common/connection_handlers_events.py +++ b/src/common/connection_handlers_events.py @@ -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')