fix wrong commit. see #3718
This commit is contained in:
parent
167aff1fdb
commit
24d6f11bab
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue