prevent a tb

This commit is contained in:
Nikos Kouremenos 2005-11-30 16:04:23 +00:00
parent e981cd5690
commit 32b3f683f4
1 changed files with 2 additions and 0 deletions

View File

@ -209,6 +209,8 @@ class HistoryWindow:
def add_new_line(self, contact_name, tim, kind, show, message):
'''add a new line in textbuffer'''
if not message: # None or ''
return
buf = self.history_buffer
end_iter = buf.get_end_iter()