[Xfce4-commits] <midori:master> Only disable prefetch in private with WebKitGTK+ 1.3.11

Christian Dywan noreply at xfce.org
Mon Oct 10 22:02:02 CEST 2011


Updating branch refs/heads/master
         to 2219399440065cfd148d2f87e978f881c1003007 (commit)
       from 9bd775b2d3104b8945ece405554da009dcb3df18 (commit)

commit 2219399440065cfd148d2f87e978f881c1003007
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Oct 10 21:45:51 2011 +0200

    Only disable prefetch in private with WebKitGTK+ 1.3.11

 midori/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 1900c44..2059b6a 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -2154,8 +2154,6 @@ main (int    argc,
     #if WEBKIT_CHECK_VERSION (1, 3, 11)
     sokoke_register_privacy_item ("web-cache", _("Web Cache"),
         G_CALLBACK (midori_clear_web_cache_cb));
-    #endif
-    #if WEBKIT_CHECK_VERSION (1, 3, 13)
     sokoke_register_privacy_item ("offline-appcache", _("Offline Application Cache"),
         G_CALLBACK (midori_clear_offline_appcache_cb));
     #endif
@@ -2194,7 +2192,9 @@ main (int    argc,
                           "enable-offline-web-application-cache", FALSE,
             /* Arguably DNS prefetching is or isn't a privacy concern. For the
              * lack of more fine-grained control we'll go the safe route. */
+            #if WEBKIT_CHECK_VERSION (1, 3, 11)
                           "enable-dns-prefetching", FALSE,
+            #endif
                           "strip-referer", TRUE, NULL);
             midori_browser_set_action_visible (browser, "Tools", FALSE);
             midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);


More information about the Xfce4-commits mailing list