reduce chars for GC tooltip status message
This commit is contained in:
parent
a46e1fa035
commit
a2a5bfe9a6
|
@ -395,6 +395,7 @@ class GCTooltip(BaseTooltip):
|
||||||
status = contact.status.strip()
|
status = contact.status.strip()
|
||||||
if status != '':
|
if status != '':
|
||||||
# escape markup entities
|
# escape markup entities
|
||||||
|
status = gtkgui_helpers.reduce_chars_newlines(status, 200, 5)
|
||||||
show += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)
|
show += ' - ' + gtkgui_helpers.escape_for_pango_markup(status)
|
||||||
properties.append((_('Status: '), show))
|
properties.append((_('Status: '), show))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue