Mercurial > hg > Feedworm
comparison Feed.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 | c82f5538733c |
children | db35ab7753f0 |
comparison
equal
deleted
inserted
replaced
58:dcee24702dd7 | 59:daa2731967fe |
---|---|
28 | 28 |
29 def incrementNextUpdateDate(self): | 29 def incrementNextUpdateDate(self): |
30 delta = timedelta(minutes=self.update_interval) | 30 delta = timedelta(minutes=self.update_interval) |
31 self.next_update = datetime.now() + delta | 31 self.next_update = datetime.now() + delta |
32 | 32 |
33 def toggleRead(self): | 33 def markAllEntriesRead(self): |
34 for entry in self.entries: | 34 for entry in self.entries: |
35 entry.toggleRead() | 35 entry.markRead() |