fix TB when scrolling is too long
This commit is contained in:
parent
e5c3b78674
commit
e556c1084d
|
@ -205,6 +205,9 @@ class ConversationTextview:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def smooth_scroll_timeout(self):
|
def smooth_scroll_timeout(self):
|
||||||
|
if not self.smooth_id:
|
||||||
|
# we finished scrolling
|
||||||
|
return
|
||||||
gobject.source_remove(self.smooth_id)
|
gobject.source_remove(self.smooth_id)
|
||||||
self.smooth_id = None
|
self.smooth_id = None
|
||||||
parent = self.tv.get_parent()
|
parent = self.tv.get_parent()
|
||||||
|
|
Loading…
Reference in New Issue