finch/libgnt/pygnt/example/rss/gntrss.py

changeset 19189
d72a994ca5ac
parent 19186
6426c0906fc8
child 19191
1596abb76093
equal deleted inserted replaced
19188:5657d0cf1ce0 19189:d72a994ca5ac
171 # self.thread = FeedReader(self) 171 # self.thread = FeedReader(self)
172 # self.thread.start() 172 # self.thread.start()
173 if self.timer == 0: 173 if self.timer == 0:
174 self.timer = gobject.timeout_add(1000, self.check_thread_for_death) 174 self.timer = gobject.timeout_add(1000, self.check_thread_for_death)
175 175
176 def mark_read(self):
177 for item in self.items:
178 item.mark_unread(False)
179
176 gobject.type_register(Feed) 180 gobject.type_register(Feed)
177 181
178 ## 182 ##
179 # A FeedReader class, which is threaded to make sure it doesn't freeze the ui 183 # A FeedReader class, which is threaded to make sure it doesn't freeze the ui
180 # (this thing doesn't quite work ... yet) 184 # (this thing doesn't quite work ... yet)

mercurial