From: Christian Dywan Date: Wed, 23 Dec 2009 15:01:24 +0000 (+0100) Subject: Remove unused Original cookies only preference X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a671f8fd5bcd754e3eb4b7ff0a53f078da80431a;p=midori Remove unused Original cookies only preference If we implement it, a new value in accept-cookies is good enough. --- diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index d1645d9c..a2c58c4d 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 e8ce8b9c..6fb0ea6a 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 (