comparison MainWindow.py @ 216:9bc4b2465435

change the hardcoded browser
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 27 Apr 2014 05:19:45 +0200
parents 524cbf9e413c
children bb3c851b18b1
comparison
equal deleted inserted replaced
215:b7caf487bc54 216:9bc4b2465435
110 def openSelectedEntryInBrowser(self): 110 def openSelectedEntryInBrowser(self):
111 feedEntry = self.backend.selectedFeedEntry 111 feedEntry = self.backend.selectedFeedEntry
112 message = "Open %s in external browser" % (feedEntry.title) 112 message = "Open %s in external browser" % (feedEntry.title)
113 self._updateStatusBar(message) 113 self._updateStatusBar(message)
114 # TODO: make browser configurable 114 # TODO: make browser configurable
115 browser = "/usr/local/bin/opera" 115 browser = "/usr/bin/chromium"
116 subprocess.Popen([browser, feedEntry.link]) 116 subprocess.Popen([browser, feedEntry.link])
117 117
118 def toggleReadOnSelectedEntry(self): 118 def toggleReadOnSelectedEntry(self):
119 self.backend.toggleSelectedFeedEntryRead() 119 self.backend.toggleSelectedFeedEntryRead()
120 self.ui.feedEntryList.doItemsLayout() 120 self.ui.feedEntryList.doItemsLayout()