]> spindle.queued.net Git - midori/commitdiff
* debian/patches:
authorYves-Alexis Perez <corsac@debian.org>
Sat, 19 Feb 2011 22:44:17 +0000 (23:44 +0100)
committerYves-Alexis Perez <corsac@debian.org>
Sat, 19 Feb 2011 22:44:17 +0000 (23:44 +0100)
  - 0001-Only-no-adblock-if-main-frame-in-provisional-state added, included
    upstream.

debian/changelog
debian/patches/0001-Only-no-adblock-if-main-frame-in-provisional-state.patch [deleted file]
debian/patches/series

index db573f6ea8ebd5ee1ef5f57e86582a1a49dcc63d..2c334bb4d2f68f0e807d317eb311d6f86589d67f 100644 (file)
@@ -2,8 +2,11 @@ midori (0.3.1-0.1) UNRELEASED; urgency=low
 
   * Non maintainer upload.
   * New upstream release.
+  * debian/patches:
+    - 0001-Only-no-adblock-if-main-frame-in-provisional-state added, included
+      upstream.
 
- -- Yves-Alexis Perez <corsac@debian.org>  Sat, 19 Feb 2011 23:40:19 +0100
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 19 Feb 2011 23:43:48 +0100
 
 midori (0.3.0-1.3) unstable; urgency=low
 
diff --git a/debian/patches/0001-Only-no-adblock-if-main-frame-in-provisional-state.patch b/debian/patches/0001-Only-no-adblock-if-main-frame-in-provisional-state.patch
deleted file mode 100644 (file)
index f1cafcc..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From 90e11d3713f68fece0b28cc2a1bda3dde8aa3303 Mon Sep 17 00:00:00 2001
-From: Christian Dywan <christian@twotoasts.de>
-Date: Tue, 1 Feb 2011 01:52:39 +0100
-Subject: [PATCH] Only no adblock if main frame in provisional state
-
----
- extensions/adblock.c |    3 ++-
- 1 files changed, 2 insertions(+), 1 deletions(-)
-
-diff --git a/extensions/adblock.c b/extensions/adblock.c
-index 6ae7adc..ff08b67 100644
---- a/extensions/adblock.c
-+++ b/extensions/adblock.c
-@@ -753,7 +753,8 @@ adblock_resource_request_starting_cb (WebKitWebView*         web_view,
-     const char *page_uri;
-     /* Never filter the main page itself */
--    if (web_frame == webkit_web_view_get_main_frame (web_view))
-+    if (web_frame == webkit_web_view_get_main_frame (web_view)
-+     && webkit_web_frame_get_load_status (web_frame) == WEBKIT_LOAD_PROVISIONAL)
-         return;
-     req_uri = webkit_network_request_get_uri (request);
--- 
-1.7.2.3
-
index aaca60cdcd3cd7a8e4ed071a3480bad1c8d72f97..5367257f30a59fcc1e88dd37ed150700a839a778 100644 (file)
@@ -1,2 +1 @@
 add-debian-searches
-0001-Only-no-adblock-if-main-frame-in-provisional-state.patch