From 8c7a7aaf201e4ca3cd31adebaa456607f5967e56 Mon Sep 17 00:00:00 2001 From: binix Date: Thu, 8 Jan 2015 17:09:55 +0000 Subject: [PATCH 1/3] Stop the icon database from being created when private-browsing is set to true --- qutebrowser/config/websettings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qutebrowser/config/websettings.py b/qutebrowser/config/websettings.py index 131025bea..2754aafb4 100644 --- a/qutebrowser/config/websettings.py +++ b/qutebrowser/config/websettings.py @@ -195,7 +195,10 @@ def _set_setting(typ, arg, default=UNSET, value=UNSET): def init(): """Initialize the global QWebSettings.""" cachedir = standarddir.get(QStandardPaths.CacheLocation) - QWebSettings.setIconDatabasePath(cachedir) + if config.get('general', 'private-browsing'): + QWebSettings.setIconDatabasePath('') + else: + QWebSettings.setIconDatabasePath(cachedir) QWebSettings.setOfflineWebApplicationCachePath( os.path.join(cachedir, 'application-cache')) datadir = standarddir.get(QStandardPaths.DataLocation) From 6d0fff1c2493f74776e232bbae2361ae3430c578 Mon Sep 17 00:00:00 2001 From: binix Date: Thu, 8 Jan 2015 23:39:40 +0000 Subject: [PATCH 2/3] add cache folder to files section of man page --- doc/qutebrowser.1.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/qutebrowser.1.asciidoc b/doc/qutebrowser.1.asciidoc index a23fab9ed..fccbc1bd0 100644 --- a/doc/qutebrowser.1.asciidoc +++ b/doc/qutebrowser.1.asciidoc @@ -90,6 +90,7 @@ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. - '~/.config/qutebrowser/quickmarks': Saved quickmarks. - '~/.config/qutebrowser/keys.conf': Defined keybindings. - '~/.local/share/qutebrowser/': Various state information +- '~/.cache/qutebrowser': Cached information == BUGS Bugs are tracked in the Github issue tracker at From 969c3550cdc91d8307fdcc67abca731f32bd7b2b Mon Sep 17 00:00:00 2001 From: sbinix Date: Fri, 9 Jan 2015 23:25:53 +0000 Subject: [PATCH 3/3] revert qutebrowser.1.asciidoc --- doc/qutebrowser.1.asciidoc | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/qutebrowser.1.asciidoc b/doc/qutebrowser.1.asciidoc index fccbc1bd0..a23fab9ed 100644 --- a/doc/qutebrowser.1.asciidoc +++ b/doc/qutebrowser.1.asciidoc @@ -90,7 +90,6 @@ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl. - '~/.config/qutebrowser/quickmarks': Saved quickmarks. - '~/.config/qutebrowser/keys.conf': Defined keybindings. - '~/.local/share/qutebrowser/': Various state information -- '~/.cache/qutebrowser': Cached information == BUGS Bugs are tracked in the Github issue tracker at