diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 5a565e986..7852bd7ed 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -97,6 +97,7 @@ Changed - `storage -> object-cache-capacities` (default depends on disk space) - `content -> css-regions` (now always turned off) - `storage -> offline-storage-database` (merged into `storage -> local-storage`) +- (QtWebKit) storage -> offline-web-application-storage` got renamed to `...-cache` Fixed diff --git a/qutebrowser/browser/webkit/webkitsettings.py b/qutebrowser/browser/webkit/webkitsettings.py index 96dc531bc..f32c2928e 100644 --- a/qutebrowser/browser/webkit/webkitsettings.py +++ b/qutebrowser/browser/webkit/webkitsettings.py @@ -228,7 +228,7 @@ MAPPINGS = { # Attribute(QWebSettings.TiledBackingStoreEnabled), }, 'storage': { - 'offline-web-application-storage': + 'offline-web-application-cache': Attribute(QWebSettings.OfflineWebApplicationCacheEnabled), 'local-storage': Attribute(QWebSettings.LocalStorageEnabled, diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index f4f3a4b48..587da214f 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -390,6 +390,8 @@ class ConfigManager(QObject): ('colors', 'statusbar.bg.warning'): 'messages.bg.warning', ('colors', 'statusbar.fg.prompt'): 'prompts.fg', ('colors', 'statusbar.bg.prompt'): 'prompts.bg', + ('storage', 'offline-web-application-storage'): + 'offline-web-application-cache', } DELETED_OPTIONS = [ ('colors', 'tab.separator'), diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 34a755dc6..3d8e54c2d 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -767,7 +767,7 @@ def data(readonly=False): "For more information about the feature, please refer to: " "http://webkit.org/blog/427/webkit-page-cache-i-the-basics/"), - ('offline-web-application-storage', + ('offline-web-application-cache', SettingValue(typ.Bool(), 'true', backends=[usertypes.Backend.QtWebKit]), "Whether support for the HTML 5 web application cache feature is "