]> spindle.queued.net Git - midori/commitdiff
Remove unused Original cookies only preference
authorChristian Dywan <christian@twotoasts.de>
Wed, 23 Dec 2009 15:01:24 +0000 (16:01 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 23 Dec 2009 15:03:04 +0000 (16:03 +0100)
If we implement it, a new value in accept-cookies is good enough.

midori/midori-preferences.c
midori/midori-websettings.c

index d1645d9c0c4fac831e8a86c63882ffa8c46f64b7..a2c58c4dc2f78261d118ff4475d3032f599fab84 100644 (file)
@@ -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);
index e8ce8b9cf198f439d45bf74a39867514aa758ff0..6fb0ea6ad84e31795bc7fcf5d555da60dfca78fb 100644 (file)
@@ -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 (