From bfa87099007a519bede446da0abff9d3efb85c70 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 3 Oct 2010 06:51:55 +0200 Subject: [PATCH] Add a small label to summarise what cookies store --- midori/midori-preferences.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index 6d9294ca..518c3b6c 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -569,6 +569,15 @@ midori_preferences_set_settings (MidoriPreferences* preferences, g_signal_connect (button, "changed", G_CALLBACK (midori_preferences_delete_cookies_changed_cb), settings); SPANNED_ADD (button); + { + gchar* markup = g_strdup_printf ("%s", + _("Cookies store login data, save games " + "or user profiles for advertisement purposes.")); + label = gtk_label_new (NULL); + gtk_label_set_markup (GTK_LABEL (label), markup); + g_free (markup); + } + FILLED_ADD (label); #if WEBKIT_CHECK_VERSION (1, 1, 8) INDENTED_ADD (katze_property_proxy (settings, "enable-html5-database", NULL)); SPANNED_ADD (katze_property_proxy (settings, "enable-html5-local-storage", NULL));