Unset dont-write-history and append, instead of 0
So the values don't stay in the saved session.
This commit is contained in:
parent
353093f7de
commit
0cde623901
1 changed files with 3 additions and 2 deletions
|
@ -333,7 +333,8 @@ _midori_browser_update_interface (MidoriBrowser* browser)
|
||||||
"stock-id", GTK_STOCK_REFRESH,
|
"stock-id", GTK_STOCK_REFRESH,
|
||||||
"tooltip", _("Reload the current page"),
|
"tooltip", _("Reload the current page"),
|
||||||
"sensitive", can_reload, NULL);
|
"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
|
else
|
||||||
{
|
{
|
||||||
|
@ -1601,7 +1602,7 @@ _midori_browser_add_tab (MidoriBrowser* browser,
|
||||||
else
|
else
|
||||||
n = -1;
|
n = -1;
|
||||||
gtk_notebook_insert_page (notebook, view, tab_label, n);
|
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_reorderable (notebook, view, TRUE);
|
||||||
gtk_notebook_set_tab_detachable (notebook, view, TRUE);
|
gtk_notebook_set_tab_detachable (notebook, view, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue