Hide images blocked with 'Block image' via element hiding

This commit is contained in:
Alexander Butenko 2010-01-02 04:11:44 +01:00 committed by Christian Dywan
parent 5452c7c71d
commit 20059d74b9

View file

@ -717,6 +717,7 @@ adblock_custom_block_image_cb (GtkWidget* widget,
}
uri = g_object_get_data (G_OBJECT (widget), "uri");
g_fprintf (list, "%s\n", uri);
g_fprintf (list, "##img[src=\"%s\"]\n", uri);
fclose (list);
adblock_parse_file (custom_list);
g_free (custom_list);