comparison MainWindow.py @ 146:8ec20377bcb0

move getting the entries for a feed to the backend so that the couchdb backend can use a custom view for feed entries
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 25 Aug 2011 07:01:45 +0200
parents 089ee60b28fb
children babe14449162
comparison
equal deleted inserted replaced
145:71c5dc02ff87 146:8ec20377bcb0
48 self.ui.actionMarkFeedRead.setEnabled(True) 48 self.ui.actionMarkFeedRead.setEnabled(True)
49 self.ui.actionDeleteFeed.setEnabled(True) 49 self.ui.actionDeleteFeed.setEnabled(True)
50 50
51 def setupFeedEntries(self): 51 def setupFeedEntries(self):
52 hideReadEntries = self.preferences.hideReadFeedEntries() 52 hideReadEntries = self.preferences.hideReadFeedEntries()
53 self.feedEntries = self.selectedFeed.entriesSortedByUpdateDate(hideReadEntries) 53 self.feedEntries = self.backend.entriesForFeed(self.selectedFeed, hideReadEntries)
54 self.initFeedDisplayModel() 54 self.initFeedDisplayModel()
55 55
56 def initFeedDisplayModel(self): 56 def initFeedDisplayModel(self):
57 self.setupFeedTableModel() 57 self.setupFeedTableModel()
58 self.ui.feedEntryList.update() 58 self.ui.feedEntryList.update()