summaryrefslogtreecommitdiff
path: root/desktop/cookies_old.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-07-26 14:48:26 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-07-26 14:48:26 +0100
commit2bd587add5912c02db71746e83eda47b66fb80af (patch)
tree78001a9ca490a883c23c5dcd735b58585899c74d /desktop/cookies_old.c
parentbb870de150eb3c38a76daa802c82a6383a483a1d (diff)
downloadnetsurf-2bd587add5912c02db71746e83eda47b66fb80af.tar.gz
netsurf-2bd587add5912c02db71746e83eda47b66fb80af.tar.bz2
Make the parasitic hack of the old tree code more robust. Now if the temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations.
Diffstat (limited to 'desktop/cookies_old.c')
-rw-r--r--desktop/cookies_old.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/cookies_old.c b/desktop/cookies_old.c
index 864fef65d..0aaf61f80 100644
--- a/desktop/cookies_old.c
+++ b/desktop/cookies_old.c
@@ -392,7 +392,7 @@ bool cookies_initialise(struct tree *tree, const char* folder_icon_name, const c
*/
unsigned int cookies_get_tree_flags(void)
{
- return TREE_DELETE_EMPTY_DIRS;
+ return TREE_DELETE_EMPTY_DIRS | TREE_COOKIES;
}