From f4c6c41e5bc2a4e205713e0197fea6d757e1bc23 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Mon, 1 Aug 2005 15:50:43 +0000 Subject: [PATCH] not showing status in tray tooltip --- src/common/connection.py | 2 ++ src/dialogs.py | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 725e4c944..f41ec13f8 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1006,6 +1006,8 @@ class Connection: else: if not msg: lowered_uf_status_msg = helpers.get_uf_show(show).lower() + # FIXME: so, I will have an empty message, not: "I'm online", + # because I have a gpg msg = _("I'm %s") % lowered_uf_status_msg signed = self.gpg.sign(msg, keyID) if signed == 'BAD_PASSPHRASE': diff --git a/src/dialogs.py b/src/dialogs.py index 7073e65f1..bc6d017fb 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -689,9 +689,6 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable): message = message.strip() if message != '': single_line += ': ' + message - else: - 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