From 7b97c133dc5a13ca668f6ff37b22ff6f0d3d7d13 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 8 Aug 2011 15:48:58 +0200 Subject: [PATCH] Allow re-opening closed tabs in private browsing --- midori/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/midori/main.c b/midori/main.c index 22912aa2..99230d02 100644 --- a/midori/main.c +++ b/midori/main.c @@ -2156,6 +2156,10 @@ main (int argc, if (private) { + /* In-memory trash for re-opening closed tabs */ + trash = katze_array_new (KATZE_TYPE_ITEM); + g_object_set (browser, "trash", trash, NULL); + g_object_set (settings, "preferred-languages", "en", "enable-private-browsing", TRUE,