reduce chars for GC tooltip status message

This commit is contained in:
Dimitur Kirov 2006-05-01 15:50:33 +00:00
parent a46e1fa035
commit a2a5bfe9a6
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ class GCTooltip(BaseTooltip):
status = contact.status.strip()
if status != '':
# escape markup entities
status = gtkgui_helpers.reduce_chars_newlines(status, 200, 5)
show += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)
properties.append((_('Status: '), show))