aboutsummaryrefslogtreecommitdiffstats
path: root/data/chrome
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-15 05:06:48 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-15 05:06:48 +0800
commit7ee5680874383d1d111ae3cd3dec10c5b4111385 (patch)
tree6dfe29c741753a421ba1f8a6153576968d0241df /data/chrome
parentd9c3fe17a3c1595fdf4ae850a03efc093cac8aea (diff)
downloadgsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.gz
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.bz2
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.lz
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.xz
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.tar.zst
gsoc2013-epiphany-7ee5680874383d1d111ae3cd3dec10c5b4111385.zip
Add defines and automake conditional for toolkit flavour.
2006-01-14 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add defines and automake conditional for toolkit flavour. * configure.ac: * data/Makefile.am: A data/chrome/.cvsignore: A data/chrome/Makefile.am: A data/chrome/brand.dtd.in: A data/chrome/brand.properties.in: A data/chrome/epiphany.manifest.in: Provide branding so mozilla dialogues don't show "Deer Park" or "Firefox" but "Epiphany" instead. * embed/mozilla/Makefile.am: A embed/mozilla/EphyDirectoryProvider.cpp: A embed/mozilla/EphyDirectoryProvider.h: * embed/mozilla/mozilla-embed-single.cpp: Add a directory service provider.
Diffstat (limited to 'data/chrome')
-rw-r--r--data/chrome/.cvsignore5
-rw-r--r--data/chrome/Makefile.am16
-rw-r--r--data/chrome/brand.dtd.in5
-rw-r--r--data/chrome/brand.properties.in3
-rw-r--r--data/chrome/epiphany.manifest.in2
5 files changed, 31 insertions, 0 deletions
diff --git a/data/chrome/.cvsignore b/data/chrome/.cvsignore
new file mode 100644
index 000000000..81c7ee303
--- /dev/null
+++ b/data/chrome/.cvsignore
@@ -0,0 +1,5 @@
+Makefile
+Makefile.in
+*.manifest
+brand.dtd
+brand.properties
diff --git a/data/chrome/Makefile.am b/data/chrome/Makefile.am
new file mode 100644
index 000000000..155e8aa83
--- /dev/null
+++ b/data/chrome/Makefile.am
@@ -0,0 +1,16 @@
+manifestdir = $(pkgdatadir)/chrome
+manifest_in_files = epiphany.manifest.in
+manifest_DATA = $(manifest_in_files:.manifest.in=.manifest)
+
+%.manifest: %.manifest.in
+ @sed -e "s!@CHROMEDIR@!$(pkgdatadir)/chrome!g" $< > $@
+
+brandingdir = $(manifestdir)/branding
+branding_in_files = \
+ brand.dtd.in \
+ brand.properties.in
+branding_DATA = $(branding_in_files:%.in=%)
+
+EXTRA_DIST = \
+ $(manifest_in_files) \
+ $(branding_in_files)
diff --git a/data/chrome/brand.dtd.in b/data/chrome/brand.dtd.in
new file mode 100644
index 000000000..de0a39edc
--- /dev/null
+++ b/data/chrome/brand.dtd.in
@@ -0,0 +1,5 @@
+<!ENTITY brandShortName "Epiphany">
+<!ENTITY brandFullName "Epiphany @VERSION@">
+<!ENTITY vendorShortName "GNOME">
+
+<!ENTITY releaseURL "http://www.gnome.org/projects/epiphany/">
diff --git a/data/chrome/brand.properties.in b/data/chrome/brand.properties.in
new file mode 100644
index 000000000..8a641ce08
--- /dev/null
+++ b/data/chrome/brand.properties.in
@@ -0,0 +1,3 @@
+brandShortName=Epiphany
+brandFullName=Epiphany @VERSION@
+vendorShortName=GNOME
diff --git a/data/chrome/epiphany.manifest.in b/data/chrome/epiphany.manifest.in
new file mode 100644
index 000000000..3f8eb3a2c
--- /dev/null
+++ b/data/chrome/epiphany.manifest.in
@@ -0,0 +1,2 @@
+override chrome://branding/locale/brand.properties file://@CHROMEDIR@/branding/brand.properties
+override chrome://branding/locale/brand.dtd file://@CHROMEDIR@/branding/brand.dtd