diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index f8e688c44..d57caeff3 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -122,7 +122,11 @@ class TabbedChatWindow(chat.Chat): # this is the text for the big brown bar # some chars need to be escaped.. name = gtkgui_helpers.escape_for_pango_markup(contact.name) - status = gtkgui_helpers.escape_for_pango_markup(contact.status) + + status = contact.status + if len(status) > 25: #FIXME: do me with pango ellipseEND when gtk24 is OLD + status = status[:21] + '...' + status = gtkgui_helpers.escape_for_pango_markup(status) jid = contact.jid