]> spindle.queued.net Git - midori/commitdiff
Unset dont-write-history and append, instead of 0
authorChristian Dywan <christian@twotoasts.de>
Tue, 13 Dec 2011 22:27:26 +0000 (23:27 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 13 Dec 2011 23:03:02 +0000 (00:03 +0100)
So the values don't stay in the saved session.

midori/midori-browser.c

index 3990e83039f5d0e0445ffd31a69162280e0c0815..df04b7f7d81f19bcc0e17a8ab27884faa5e55e42 100644 (file)
@@ -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);