it's shorter like that

This commit is contained in:
Yann Leboulanger 2004-12-05 20:16:16 +00:00
parent 22344a6036
commit 230e4e8cb5
1 changed files with 1 additions and 2 deletions

View File

@ -225,8 +225,7 @@ class message_Window:
#scroll to the end of the textview
conversation.scroll_to_mark(buffer.get_mark('end'), 0.1, 0, 0, 0)
if not self.plugin.windows[self.account]['chats'][self.user.jid].\
window.get_property('is-active'):
if not self.window.get_property('is-active'):
self.nb_unread += 1
self.show_title()