Updating branch refs/heads/master
to 7b97c133dc5a13ca668f6ff37b22ff6f0d3d7d13 (commit)
from 5c08872db091a9b7b92c0f00f3fd435915cdafd3 (commit)
commit 7b97c133dc5a13ca668f6ff37b22ff6f0d3d7d13
Author: Christian Dywan <[email protected]>
Date: Mon Aug 8 15:48:58 2011 +0200
Allow re-opening closed tabs in private browsing
midori/main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/midori/main.c b/midori/main.c
index 22912aa..99230d0 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,
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits