comparison MainWindow.py @ 115:e9145e8dd698

add a toolbar with actions
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 26 Jun 2011 11:29:00 +0200
parents 04f8cf1558c1
children 04a730f9d07d
comparison
equal deleted inserted replaced
114:b0290ab29483 115:e9145e8dd698
77 visibleIndex = model.createIndex(0, 0) 77 visibleIndex = model.createIndex(0, 0)
78 self.ui.feedEntryList.scrollTo(visibleIndex) 78 self.ui.feedEntryList.scrollTo(visibleIndex)
79 79
80 def feedEntrySelected(self, index): 80 def feedEntrySelected(self, index):
81 self.ui.menuArticle.setEnabled(True) 81 self.ui.menuArticle.setEnabled(True)
82 self.ui.actionOpenLink.setEnabled(True)
82 83
83 row = index.row() 84 row = index.row()
84 self.selectedEntry = self.feedEntries[row] 85 self.selectedEntry = self.feedEntries[row]
85 self.selectedEntry.markRead() 86 self.selectedEntry.markRead()
86 87