[Xfce4-commits] <midori:master> Remember whether 'Clear private data when quitting' is enabled
Christian Dywan
noreply at xfce.org
Sun Jan 31 20:44:01 CET 2010
Updating branch refs/heads/master
to cc50c6d58b770d2144a2a249da2a0c793891af9d (commit)
from 19a3d68c3819a0343b8c5b4495c5acf4d514208b (commit)
commit cc50c6d58b770d2144a2a249da2a0c793891af9d
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jan 30 22:50:00 2010 +0100
Remember whether 'Clear private data when quitting' is enabled
midori/midori-browser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 539b1f0..2572b35 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);
More information about the Xfce4-commits
mailing list