[Xfce4-commits] <midori:master> Add a small label to summarise what cookies store

Christian Dywan noreply at xfce.org
Sun Oct 3 07:18:04 CEST 2010


Updating branch refs/heads/master
         to bfa87099007a519bede446da0abff9d3efb85c70 (commit)
       from a37c1df18d7b2f2027236cafa6d8bb423b615492 (commit)

commit bfa87099007a519bede446da0abff9d3efb85c70
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Oct 3 06:51:55 2010 +0200

    Add a small label to summarise what cookies store

 midori/midori-preferences.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c
index 6d9294c..518c3b6 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 ("<span size=\"smaller\">%s</span>",
+            _("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));



More information about the Xfce4-commits mailing list