summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-06-22 20:03:00 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-06-22 20:03:00 (GMT)
commit11dc7304d96a2ac3e2ac346e3cb6236f8e14225b (patch)
treebe07cfaaaff82958209a218ae604859b117b8b08 /gtk
parent3160f9fd898720aba47e726a4b50910c92acd36e (diff)
downloadnetsurf-11dc7304d96a2ac3e2ac346e3cb6236f8e14225b.tar.gz
netsurf-11dc7304d96a2ac3e2ac346e3cb6236f8e14225b.tar.bz2
Allow GTK to include inline resources for default css
Diffstat (limited to 'gtk')
-rw-r--r--gtk/res/netsurf.gresource.xml3
-rw-r--r--gtk/resources.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/gtk/res/netsurf.gresource.xml b/gtk/res/netsurf.gresource.xml
index ca4c9e3..7e08b0b 100644
--- a/gtk/res/netsurf.gresource.xml
+++ b/gtk/res/netsurf.gresource.xml
@@ -51,7 +51,10 @@
<file>ja/welcome.html</file>
<file>nl/welcome.html</file>
<file>maps.html</file>
+ <file>adblock.css</file>
+ <file>default.css</file>
<file>internal.css</file>
+ <file>quirks.css</file>
<file>netsurf.png</file>
<file>default.ico</file>
<file>icons/arrow-l.png</file>
diff --git a/gtk/resources.c b/gtk/resources.c
index c9f08f4..f5b13f1 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"),