comparison MainWindow.py @ 60:d063e4814357

When clicking an entry, it's marked as read
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 23 Jul 2010 17:41:05 +0200
parents daa2731967fe
children db35ab7753f0
comparison
equal deleted inserted replaced
59:daa2731967fe 60:d063e4814357
46 def feedEntrySelected(self, index): 46 def feedEntrySelected(self, index):
47 self.ui.menuArticle.setEnabled(True) 47 self.ui.menuArticle.setEnabled(True)
48 48
49 row = index.row() 49 row = index.row()
50 self.selectedEntry = self.sortedEntries[row] 50 self.selectedEntry = self.sortedEntries[row]
51 self.selectedEntry.markRead()
51 52
52 if self.selectedEntry.feed.auto_load_entry_link: 53 if self.selectedEntry.feed.auto_load_entry_link:
53 self.openLinkFromSelectedEntry() 54 self.openLinkFromSelectedEntry()
54 else: 55 else:
55 self.openSummaryFromSelectedEntry() 56 self.openSummaryFromSelectedEntry()