Author: asterix Date: 2007-09-04 23:36:35 +0200 (Tue, 04 Sep 2007) New Revision: 8720
Modified: trunk/src/conversation_textview.py Log: fix TB when scrolling is too long
Modified: trunk/src/conversation_textview.py =================================================================== --- trunk/src/conversation_textview.py 2007-09-04 20:16:15 UTC (rev 8719) +++ trunk/src/conversation_textview.py 2007-09-04 21:36:35 UTC (rev 8720) @@ -205,6 +205,9 @@ return True
def smooth_scroll_timeout(self): + if not self.smooth_id: + # we finished scrolling + return gobject.source_remove(self.smooth_id) self.smooth_id = None parent = self.tv.get_parent()