Skip to content
Snippets Groups Projects
Commit 36459161 authored by nkour's avatar nkour
Browse files

nothing

parent aa620617
No related branches found
No related tags found
No related merge requests found
......@@ -287,14 +287,10 @@ def populate(self, contact):
'</span>' + 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 @@ def populate(self, contacts):
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment