From cc50c6d58b770d2144a2a249da2a0c793891af9d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 30 Jan 2010 22:50:00 +0100 Subject: [PATCH] Remember whether 'Clear private data when quitting' is enabled --- midori/midori-browser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 539b1f00..2572b350 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -4544,7 +4544,10 @@ midori_browser_clear_private_data_response_cb (GtkWidget* dialog, } if (clear_prefs != saved_prefs) + { + clear_prefs |= (saved_prefs & MIDORI_CLEAR_ON_QUIT); g_object_set (browser->settings, "clear-private-data", clear_prefs, NULL); + } } if (response_id != GTK_RESPONSE_DELETE_EVENT) gtk_widget_destroy (dialog); -- 2.39.5