Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename storage -> offline-web-application-storage to -cache
  • Loading branch information
The-Compiler committed Jun 6, 2017
1 parent c696723 commit 0ca59f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/browser/webkit/webkitsettings.py
Expand Up @@ -228,7 +228,7 @@ def shutdown():
# Attribute(QWebSettings.TiledBackingStoreEnabled),
},
'storage': {
'offline-web-application-storage':
'offline-web-application-cache':
Attribute(QWebSettings.OfflineWebApplicationCacheEnabled),
'local-storage':
Attribute(QWebSettings.LocalStorageEnabled,
Expand Down
2 changes: 2 additions & 0 deletions qutebrowser/config/config.py
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/config/configdata.py
Expand Up @@ -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 "
Expand Down

0 comments on commit 0ca59f2

Please sign in to comment.