Mercurial > hg > Feedworm
comparison Feed.py @ 56:c82f5538733c
add a menu item to mark all entries in a feed as read
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 23 Jul 2010 04:06:10 +0200 |
parents | a8442c3487b5 |
children | daa2731967fe |
comparison
equal
deleted
inserted
replaced
55:0f9b3e57cff0 | 56:c82f5538733c |
---|---|
27 return sortedEntries | 27 return sortedEntries |
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 | |
33 def toggleRead(self): | |
34 for entry in self.entries: | |
35 entry.toggleRead() |