not showing status in tray tooltip

This commit is contained in:
Dimitur Kirov 2005-08-01 15:50:43 +00:00
parent f86a65b757
commit f4c6c41e5b
2 changed files with 2 additions and 3 deletions

View File

@ -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':

View File

@ -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