Allow re-opening closed tabs in private browsing

This commit is contained in:
Christian Dywan 2011-08-08 15:48:58 +02:00
parent 5c08872db0
commit 7b97c133dc

View file

@ -2156,6 +2156,10 @@ main (int argc,
if (private) 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, g_object_set (settings,
"preferred-languages", "en", "preferred-languages", "en",
"enable-private-browsing", TRUE, "enable-private-browsing", TRUE,