Mercurial > hg > Feedworm
diff 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 |
line wrap: on
line diff
--- a/FeedEntry.py Fri Jul 23 17:24:32 2010 +0200 +++ b/FeedEntry.py Fri Jul 23 17:29:22 2010 +0200 @@ -22,6 +22,12 @@ def toggleRead(self): if self.read: - self.read = 0 + self.markUnread() else: - self.read = 1 + self.markRead() + + def markRead(self): + self.read = 1 + + def markUnread(self): + self.read = 0 \ No newline at end of file