[gnome-themes-standard] Add default background image
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Add default background image
- Date: Fri, 29 Oct 2010 18:51:22 +0000 (UTC)
commit 53c447db4f3ea73dd13883ee509a3709ca060add
Author: William Jon McCann <jmccann redhat com>
Date: Fri Oct 29 14:41:12 2010 -0400
Add default background image
configure.ac | 2 ++
themes/Adwaita/Makefile.am | 2 +-
themes/Adwaita/backgrounds/Makefile.am | 19 +++++++++++++++++++
themes/Adwaita/backgrounds/adwaita.xml.in.in | 11 +++++++++++
themes/Adwaita/backgrounds/stripes.jpg | Bin 0 -> 246770 bytes
5 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3927afd..e66817f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ AC_INIT([gnome-themes-standard], [2.91.0],
AM_INIT_AUTOMAKE([1.9 tar-ustar foreign dist-bzip2 no-dist-gzip])
PKG_PROG_PKG_CONFIG([0.19])
+AC_PROG_SED
IT_PROG_INTLTOOL([0.35.0])
# Workaround to make aclocal get the right flags
@@ -16,6 +17,7 @@ AC_CONFIG_FILES([
Makefile
themes/Makefile
themes/Adwaita/Makefile
+themes/Adwaita/backgrounds/Makefile
themes/Adwaita/gtk-3.0/Makefile
themes/Adwaita/metacity-1/Makefile
po/Makefile.in
diff --git a/themes/Adwaita/Makefile.am b/themes/Adwaita/Makefile.am
index 0afebc4..339827f 100644
--- a/themes/Adwaita/Makefile.am
+++ b/themes/Adwaita/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = gtk-3.0 metacity-1
+SUBDIRS = backgrounds gtk-3.0 metacity-1
THEME_NAME=Adwaita
THEME_IN_FILES=index.theme.in
diff --git a/themes/Adwaita/backgrounds/Makefile.am b/themes/Adwaita/backgrounds/Makefile.am
new file mode 100644
index 0000000..ae8b690
--- /dev/null
+++ b/themes/Adwaita/backgrounds/Makefile.am
@@ -0,0 +1,19 @@
+
+backgrounddir = $(datadir)/themes/Adwaita/backgrounds
+background_DATA = \
+ stripes.jpg
+
+metadata_in_files = adwaita.xml.in
+metadatadir = $(datadir)/gnome-background-properties
+metadata_DATA = $(metadata_in_files:.xml.in=.xml)
+
+adwaita.xml.in: adwaita.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\ datadir\@^$(datadir)^g' < $(srcdir)/adwaita.xml.in.in > adwaita.xml.in.tmp \
+ && mv adwaita.xml.in.tmp adwaita.xml.in
+
+ INTLTOOL_XML_RULE@
+
+noinst_DATA = adwaita.xml.in
+CLEANFILES = adwaita.xml adwaita.xml.in
+
+EXTRA_DIST = $(background_DATA) adwaita.xml.in.in
diff --git a/themes/Adwaita/backgrounds/adwaita.xml.in.in b/themes/Adwaita/backgrounds/adwaita.xml.in.in
new file mode 100644
index 0000000..e7de8b3
--- /dev/null
+++ b/themes/Adwaita/backgrounds/adwaita.xml.in.in
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
+<wallpapers>
+ <wallpaper deleted="false">
+ <_name>Default Background</_name>
+ <filename>@datadir@/themes/Adwaita/backgrounds/stripes.jpg</filename>
+ <options>zoom</options>
+ <shade_type>solid</shade_type>
+ <pcolor>#3465a4</pcolor>
+ </wallpaper>
+</wallpapers>
diff --git a/themes/Adwaita/backgrounds/stripes.jpg b/themes/Adwaita/backgrounds/stripes.jpg
new file mode 100644
index 0000000..c227804
Binary files /dev/null and b/themes/Adwaita/backgrounds/stripes.jpg differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]