Use timeout_add_seconds - that easier on the resources.
This commit is contained in:
parent
ed48bffa08
commit
053a1be708
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ class ConversationTextview:
|
||||||
|
|
||||||
self.xep0184_shown[id] = SHOWN
|
self.xep0184_shown[id] = SHOWN
|
||||||
return False
|
return False
|
||||||
gobject.timeout_add(2000, show_it)
|
gobject.timeout_add_seconds(2, show_it)
|
||||||
|
|
||||||
buffer.end_user_action()
|
buffer.end_user_action()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue