From 1d4d9f522980192a3eafc3310e13af9029322cef Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 20 May 2005 16:04:12 +0000 Subject: [PATCH] print a user friendly show when a contact change his status --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 26f8d38c9..b3b172715 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -420,8 +420,9 @@ class Roster_window: name = user.name if user.resource != '': name += '/' + user.resource + uf_show = helpers.get_uf_status(show) self.plugin.windows[account]['chats'][jid].print_conversation( - _('%s is now %s (%s)') % (name, show, status), jid, 'status') + _('%s is now %s (%s)') % (name, uf_show, status), jid, 'status') def on_info(self, widget, user, account): '''Call vcard_information_window class to display user's information'''