From 11dc7304d96a2ac3e2ac346e3cb6236f8e14225b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 22 Jun 2015 21:03:00 +0100 Subject: [PATCH] Allow GTK to include inline resources for default css --- gtk/res/netsurf.gresource.xml | 3 +++ gtk/resources.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gtk/res/netsurf.gresource.xml b/gtk/res/netsurf.gresource.xml index ca4c9e326..7e08b0b72 100644 --- a/gtk/res/netsurf.gresource.xml +++ b/gtk/res/netsurf.gresource.xml @@ -51,7 +51,10 @@ ja/welcome.html nl/welcome.html maps.html + adblock.css + default.css internal.css + quirks.css netsurf.png default.ico icons/arrow-l.png diff --git a/gtk/resources.c b/gtk/resources.c index c9f08f4b7..f5b13f1df 100644 --- a/gtk/resources.c +++ b/gtk/resources.c @@ -113,7 +113,10 @@ static struct nsgtk_resource_s direct_resource[] = { RES_ENTRY("credits.html"), RES_ENTRY("licence.html"), RES_ENTRY("maps.html"), + RES_ENTRY("default.css"), + RES_ENTRY("adblock.css"), RES_ENTRY("internal.css"), + RES_ENTRY("quirks.css"), RES_ENTRY("netsurf.png"), RES_ENTRY("default.ico"), RES_ENTRY("icons/arrow-l.png"),