Remember whether 'Clear private data when quitting' is enabled
This commit is contained in:
parent
19a3d68c38
commit
cc50c6d58b
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue