From 36459161fa989f864c23a44d8e4b4ac451cafc1f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 4 Sep 2005 01:40:17 +0000 Subject: [PATCH] nothing --- src/tooltips.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/tooltips.py b/src/tooltips.py index e8ffab61c..3a23d71b0 100644 --- a/src/tooltips.py +++ b/src/tooltips.py @@ -287,14 +287,10 @@ class GCTooltip(BaseTooltip, StatusTable): '' + gtkgui_helpers.escape_for_pango_markup( contact.resource) - - self.text_lable.set_markup(info) hbox.add(self.text_lable) self.win.add(hbox) - - class RosterTooltip(BaseTooltip, StatusTable): ''' Tooltip that is shown in the roster treeview ''' def __init__(self, plugin): @@ -383,7 +379,8 @@ class RosterTooltip(BaseTooltip, StatusTable): if contact.status: status = contact.status.strip() if status != '': - # reduce long status (no more than 130 chars on line and no more than 5 lines) + # reduce long status + # (no more than 130 chars on line and no more than 5 lines) status = gtkgui_helpers.reduce_chars_newlines(status, 130, 5) # escape markup entities. info += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)