[Xfce4-commits] <midori:master> Unset dont-write-history and append, instead of 0
Christian Dywan
noreply at xfce.org
Wed Dec 14 00:04:02 CET 2011
Updating branch refs/heads/master
to 0cde6239011915c148e7012e19bfb4186a125cef (commit)
from 353093f7de1f4308509189bc5b45aafd05fe4b37 (commit)
commit 0cde6239011915c148e7012e19bfb4186a125cef
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Dec 13 23:27:26 2011 +0100
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 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 3990e83..df04b7f 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);
More information about the Xfce4-commits
mailing list