Fix ctrl + tab (get_control called with too much parameters)

This commit is contained in:
Jean-Marie Traissard 2008-06-27 10:00:27 +00:00
parent 06856c2e20
commit 65ec746e4f
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class MessageWindow(object):
ind = ind - 1 ind = ind - 1
if ind < 0: if ind < 0:
ind = self.notebook.get_n_pages() - 1 ind = self.notebook.get_n_pages() - 1
ctrl = self.get_control(ind, None, None) ctrl = self.get_control(ind, None)
if ctrl.get_nb_unread() > 0: if ctrl.get_nb_unread() > 0:
found = True found = True
break # found break # found