Remove unused Original cookies only preference

If we implement it, a new value in accept-cookies is good enough.
This commit is contained in:
Christian Dywan 2009-12-23 16:01:24 +01:00
parent 05601be635
commit a671f8fd5b
2 changed files with 7 additions and 2 deletions

View file

@ -504,8 +504,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
INDENTED_ADD (label); INDENTED_ADD (label);
button = katze_property_proxy (settings, "accept-cookies", NULL); button = katze_property_proxy (settings, "accept-cookies", NULL);
SPANNED_ADD (button); SPANNED_ADD (button);
button = katze_property_proxy (settings, "original-cookies-only", NULL);
INDENTED_ADD (button);
label = katze_property_label (settings, "maximum-cookie-age"); label = katze_property_label (settings, "maximum-cookie-age");
INDENTED_ADD (label); INDENTED_ADD (label);
entry = katze_property_proxy (settings, "maximum-cookie-age", NULL); entry = katze_property_proxy (settings, "maximum-cookie-age", NULL);

View file

@ -906,6 +906,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
MIDORI_ACCEPT_COOKIES_ALL, MIDORI_ACCEPT_COOKIES_ALL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 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, g_object_class_install_property (gobject_class,
PROP_ORIGINAL_COOKIES_ONLY, PROP_ORIGINAL_COOKIES_ONLY,
g_param_spec_boolean ( g_param_spec_boolean (