From: Christian Dywan Date: Sat, 30 Jan 2010 21:50:00 +0000 (+0100) Subject: Remember whether 'Clear private data when quitting' is enabled X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc50c6d58b770d2144a2a249da2a0c793891af9d;p=midori Remember whether 'Clear private data when quitting' is enabled --- 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);