From: Christian Dywan Date: Mon, 8 Aug 2011 13:48:58 +0000 (+0200) Subject: Allow re-opening closed tabs in private browsing X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b97c133dc5a13ca668f6ff37b22ff6f0d3d7d13;p=midori Allow re-opening closed tabs in private browsing --- 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,