diff Mapping.py @ 77:d292ab61ed6f

Add another setting to feed: when opening a feed entry in browser, you can force opening it in an external browser now. This is because some sites just crash the QWebView.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 14 Aug 2010 02:53:49 +0200
parents f909550683b0
children d11c3f71ac40
line wrap: on
line diff
--- a/Mapping.py	Wed Aug 11 03:59:33 2010 +0200
+++ b/Mapping.py	Sat Aug 14 02:53:49 2010 +0200
@@ -37,7 +37,10 @@
         Column("next_update", DateTime, nullable=False),
         # when displaying an entry of this feed, do not display the summary but rather load 
         # the link directly
-        Column("auto_load_entry_link", Boolean, nullable=False)
+        Column("auto_load_entry_link", Boolean, nullable=False),
+        # this is actually a hack: when opening some sites in the QWebView it just crashes.
+        # This setting forces to open an entry's link in the external browser
+        Column("always_open_in_browser", Boolean, nullable=False)
     )
     
     global feedEntryTable