]> spindle.queued.net Git - midori/commitdiff
Rebuild adblock js after download a new filter file
authorAlexander Butenko <a.butenka@gmail.com>
Tue, 2 Feb 2010 20:26:05 +0000 (21:26 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 2 Feb 2010 20:26:05 +0000 (21:26 +0100)
extensions/adblock.c

index c7af950eeb314b3378d466efd72aa7980a2f4c88..cdfc5ad087c5f24139178c5d93c78c0772462db6 100644 (file)
@@ -92,6 +92,7 @@ adblock_download_notify_status_cb (WebKitDownload* download,
         return;
 
     adblock_parse_file (path);
+    katze_assign (blockscript, adblock_build_js (blockcss, blockcssprivate));
     g_free (path);
     /* g_object_unref (download); */
 }