diff MainWindow.py @ 104:4f87be5399ff

double clicking a feed entry opens it in the external browser
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 05 Mar 2011 03:40:35 +0100
parents 063581d8594e
children d372b3ee7bd8
line wrap: on
line diff
--- a/MainWindow.py	Wed Feb 16 06:57:06 2011 +0100
+++ b/MainWindow.py	Sat Mar 05 03:40:35 2011 +0100
@@ -88,6 +88,10 @@
         else:
             self.openSummaryFromSelectedEntry()
 
+    def feedEntryDoubleClicked(self, index):
+        self.ui.menuArticle.setEnabled(True)
+        self.openSelectedEntryInBrowser()
+
     def openSummaryFromSelectedEntry(self):
         # TODO this is the wrong base url, figure out the correct one
         baseUrl = QUrl(self.selectedEntry.link)