From 438606b50de26a68bcc43a7ff85667d26682abc1 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Mon, 1 Aug 2005 15:54:26 +0000 Subject: [PATCH] show 'offline' to offline users with no message --- src/dialogs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index bc6d017fb..6b40e976b 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -689,6 +689,9 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable): message = message.strip() if message != '': single_line += ': ' + message + # the other solution is to hide offline accounts + elif status == 'offline': + message = helpers.get_uf_show(status) accounts.append({'name':account, 'status_line':single_line, 'show':status, 'message':message}) unread_messages_no = self.plugin.roster.nb_unread