Mercurial > hg > Feedworm
comparison MainWindow.py @ 84:bacf42da9e36
update the status bar when an article is opened
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 22 Aug 2010 16:45:25 +0200 |
parents | 2dd6e6894772 |
children | 2eddb44920d1 |
comparison
equal
deleted
inserted
replaced
83:19394162a39d | 84:bacf42da9e36 |
---|---|
83 url = QUrl(self.selectedEntry.link) | 83 url = QUrl(self.selectedEntry.link) |
84 self.ui.webView.load(url) | 84 self.ui.webView.load(url) |
85 self.ui.webView.show() | 85 self.ui.webView.show() |
86 | 86 |
87 def openSelectedEntryInBrowser(self): | 87 def openSelectedEntryInBrowser(self): |
88 message = "Open %s in external browser", (self.selectedEntry.title) | 88 message = "Open %s in external browser" % (self.selectedEntry.title) |
89 self._updateStatusBar(message) | 89 self._updateStatusBar(message) |
90 # TODO make browser configurable | 90 # TODO make browser configurable |
91 browser = "/usr/local/bin/opera" | 91 browser = "/usr/local/bin/opera" |
92 subprocess.Popen([browser, self.selectedEntry.link]) | 92 subprocess.Popen([browser, self.selectedEntry.link]) |
93 | 93 |