comparison FeedEntry.py @ 59:daa2731967fe

Marking all articles in a feed as read doesn't toggle any more ... it marks all articles as read.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 23 Jul 2010 17:29:22 +0200
parents f371d02fa09d
children abc0516a1c0c
comparison
equal deleted inserted replaced
58:dcee24702dd7 59:daa2731967fe
20 def userPresentableString(self): 20 def userPresentableString(self):
21 return self.title 21 return self.title
22 22
23 def toggleRead(self): 23 def toggleRead(self):
24 if self.read: 24 if self.read:
25 self.read = 0 25 self.markUnread()
26 else: 26 else:
27 self.read = 1 27 self.markRead()
28
29 def markRead(self):
30 self.read = 1
31
32 def markUnread(self):
33 self.read = 0