Preferences/__init__.py

changeset 1854
191efdc54c62
parent 1852
12d37ab1baf3
child 1917
c73052b6b65e
--- a/Preferences/__init__.py	Sun May 06 18:10:24 2012 +0200
+++ b/Preferences/__init__.py	Sun May 06 19:08:47 2012 +0200
@@ -637,6 +637,7 @@
         "DefaultScheme": "file://",
         "AdBlockEnabled": False,
         "AdBlockSubscriptions": [],
+        "AdBlockUpdatePeriod": 7,
         "OfflineStorageDatabaseQuota": 50,     # 50 MB
         "UserAgent": "",
         "ShowPreview": True,
@@ -2033,7 +2034,7 @@
     elif key in ["HelpViewerType", "DiskCacheSize", "AcceptCookies",
                  "KeepCookiesUntil", "StartupBehavior", "HistoryLimit",
                  "OfflineStorageDatabaseQuota", "OfflineWebApplicationCacheQuota",
-                 "CachePolicy", "DownloadManagerRemovePolicy",
+                 "CachePolicy", "DownloadManagerRemovePolicy", "AdBlockUpdatePeriod",
                  "SearchLanguage", "SyncType", "SyncFtpPort", "SyncFtpIdleTimeout",
                  "SyncEncryptionKeyLength"]:
         return int(prefClass.settings.value("Help/" + key,

eric ide

mercurial