comparison MainWindow.py @ 75:a8a4cf131a02

Properly update the feed entry list when marking an entry as read/unread
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 11 Aug 2010 03:41:15 +0200
parents 1e6f6ed38dd0
children d292ab61ed6f
comparison
equal deleted inserted replaced
74:1e6f6ed38dd0 75:a8a4cf131a02
77 self.ui.webView.show() 77 self.ui.webView.show()
78 78
79 def toggleReadOnSelectedEntry(self): 79 def toggleReadOnSelectedEntry(self):
80 self.selectedEntry.toggleRead() 80 self.selectedEntry.toggleRead()
81 self.session.commit() 81 self.session.commit()
82 self.ui.feedList.update() 82 self.ui.feedEntryList.doItemsLayout()
83 83
84 def markSelectedFeedRead(self): 84 def markSelectedFeedRead(self):
85 self.selectedFeed.markAllEntriesRead() 85 self.selectedFeed.markAllEntriesRead()
86 self.session.commit() 86 self.session.commit()
87 self.ui.feedEntryList.doItemsLayout() 87 self.ui.feedEntryList.doItemsLayout()