This commit is contained in:
Yann Leboulanger 2005-08-08 16:02:29 +00:00
parent 5aec9060cd
commit e30ae90f89
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ class TabbedChatWindow(chat.Chat):
status = contact.status
#FIXME: when gtk2.4 is OOOOLD do it via glade2.10+
if gtk.pygtk_version >= (2, 6, 0) and gtk.gtk_version >= (2, 6, 0):
if gtk.pygtk_version >= (2, 6, 0) and gtk.gtk_version >= (2, 6, 0) and \
status is not None:
banner_name_label.set_ellipsize(pango.ELLIPSIZE_END)
status = gtkgui_helpers.reduce_chars_newlines(status, 0, 2)
#FIXME: remove me when gtk24 is OLD