From 0cde6239011915c148e7012e19bfb4186a125cef Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 13 Dec 2011 23:27:26 +0100 Subject: [PATCH] Unset dont-write-history and append, instead of 0 So the values don't stay in the saved session. --- midori/midori-browser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 3990e830..df04b7f7 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -333,7 +333,8 @@ _midori_browser_update_interface (MidoriBrowser* browser) "stock-id", GTK_STOCK_REFRESH, "tooltip", _("Reload the current page"), "sensitive", can_reload, NULL); - katze_item_set_meta_integer (midori_view_get_proxy_item (view), "dont-write-history", 0); + katze_item_set_meta_integer (midori_view_get_proxy_item (view), + "dont-write-history", -1); } else { @@ -1601,7 +1602,7 @@ _midori_browser_add_tab (MidoriBrowser* browser, else n = -1; gtk_notebook_insert_page (notebook, view, tab_label, n); - katze_item_set_meta_integer (item, "append", 0); + katze_item_set_meta_integer (item, "append", -1); gtk_notebook_set_tab_reorderable (notebook, view, TRUE); gtk_notebook_set_tab_detachable (notebook, view, TRUE); -- 2.39.5