[Xfce4-commits] <midori:master> Remove unused Original cookies only preference
Christian Dywan
noreply at xfce.org
Wed Dec 23 22:04:04 CET 2009
Updating branch refs/heads/master
to a671f8fd5bcd754e3eb4b7ff0a53f078da80431a (commit)
from 05601be63552575c7580ff4a45ef008fe2e04138 (commit)
commit a671f8fd5bcd754e3eb4b7ff0a53f078da80431a
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Dec 23 16:01:24 2009 +0100
Remove unused Original cookies only preference
If we implement it, a new value in accept-cookies is good enough.
midori/midori-preferences.c | 2 --
midori/midori-websettings.c | 7 +++++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c
index d1645d9..a2c58c4 100644
--- a/midori/midori-preferences.c
+++ b/midori/midori-preferences.c
@@ -504,8 +504,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
INDENTED_ADD (label);
button = katze_property_proxy (settings, "accept-cookies", NULL);
SPANNED_ADD (button);
- button = katze_property_proxy (settings, "original-cookies-only", NULL);
- INDENTED_ADD (button);
label = katze_property_label (settings, "maximum-cookie-age");
INDENTED_ADD (label);
entry = katze_property_proxy (settings, "maximum-cookie-age", NULL);
diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index e8ce8b9..6fb0ea6 100644
--- a/midori/midori-websettings.c
+++ b/midori/midori-websettings.c
@@ -906,6 +906,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
MIDORI_ACCEPT_COOKIES_ALL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ /**
+ * MidoriWebSettings:original-cookies-only:
+ *
+ * Accept cookies from the original website only.
+ *
+ * Deprecated: 0.2.3: This value is not used.
+ */
g_object_class_install_property (gobject_class,
PROP_ORIGINAL_COOKIES_ONLY,
g_param_spec_boolean (
More information about the Xfce4-commits
mailing list