fix wrong commit. see #3718

This commit is contained in:
Yann Leboulanger 2008-02-03 21:22:30 +00:00
parent 167aff1fdb
commit 24d6f11bab
1 changed files with 2 additions and 2 deletions

View File

@ -210,13 +210,13 @@ class RosterWindow:
def draw_account(self, account): def draw_account(self, account):
if account in self.draw_account_id: if account in self.draw_account_id:
gobject.source_remove(self.draw_account_id[account]) return
self.draw_account_id[account] = gobject.timeout_add(500, self.draw_account_id[account] = gobject.timeout_add(500,
self.really_draw_account, account) self.really_draw_account, account)
def really_draw_account(self, account): def really_draw_account(self, account):
if account in self.draw_account_id: if account in self.draw_account_id:
return del self.draw_account_id[account]
model = self.tree.get_model() model = self.tree.get_model()
iter = self.get_account_iter(account) iter = self.get_account_iter(account)