def stop_ac_timeout(self, query, liststore):
try:
if self.ac_timeout_id:
GObject.source_remove(self.ac_timeout_id)
self.ac_timeout_id = 0
except ValueError: pass
except: pass
if query and liststore: autocomplete(query, liststore)
return True
评论列表
文章目录