[glide] Add earth theme, change some theme names



commit cb7efe81dcabee61363deef54f9d15de2ae1f0cf
Author: Robert Carr <racarr Valentine localdomain>
Date:   Sat Jun 5 15:50:16 2010 -0400

    Add earth theme, change some theme names

 configure.ac                                |    3 ++-
 data/themes/Makefile.am                     |    2 +-
 data/themes/crimson/Makefile.am             |   11 +++++++++++
 data/themes/{red => crimson}/background.png |  Bin 580946 -> 580946 bytes
 data/themes/{red => crimson}/theme.json     |    2 +-
 data/themes/default/theme.json              |    2 +-
 data/themes/earth/Makefile.am               |   11 +++++++++++
 data/themes/earth/background.png            |  Bin 0 -> 524667 bytes
 data/themes/{red => earth}/theme.json       |    2 +-
 data/themes/red/Makefile.am                 |   11 -----------
 libglide/glide.c                            |    2 +-
 11 files changed, 29 insertions(+), 17 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3040272..1e3e9b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,8 @@ data/icons/hicolor/scalable/apps/Makefile
 data/ui/Makefile
 data/themes/Makefile
 data/themes/default/Makefile
-data/themes/red/Makefile
+data/themes/crimson/Makefile
+data/themes/earth/Makefile
 libglide/Makefile
 po/Makefile.in
 src/Makefile
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
index 4e99c0e..efe850a 100644
--- a/data/themes/Makefile.am
+++ b/data/themes/Makefile.am
@@ -1 +1 @@
-SUBDIRS=default red
\ No newline at end of file
+SUBDIRS=default crimson earth
\ No newline at end of file
diff --git a/data/themes/crimson/Makefile.am b/data/themes/crimson/Makefile.am
new file mode 100644
index 0000000..2f5c70a
--- /dev/null
+++ b/data/themes/crimson/Makefile.am
@@ -0,0 +1,11 @@
+themedir=$(datadir)/glide/themes
+theme_DATA = crimson.glide-theme
+
+theme_FILES = theme.json background.png
+
+crimson.glide-theme: theme.json background.png
+	tar -cjspf crimson.glide-theme $(theme_FILES)
+
+EXTRA_DIST = \
+	$(theme_DATA) \
+	$(theme_FILES)
\ No newline at end of file
diff --git a/data/themes/red/background.png b/data/themes/crimson/background.png
similarity index 100%
rename from data/themes/red/background.png
rename to data/themes/crimson/background.png
diff --git a/data/themes/red/theme.json b/data/themes/crimson/theme.json
similarity index 84%
copy from data/themes/red/theme.json
copy to data/themes/crimson/theme.json
index 9b71ee6..fe5f00a 100644
--- a/data/themes/red/theme.json
+++ b/data/themes/crimson/theme.json
@@ -1,5 +1,5 @@
 {
-    "name":"Red",
+    "name":"Crimson",
     "default-background":"background.png",
     "default-color":"#ffffffff",
     "default-fontname":"Sans 35"   
diff --git a/data/themes/default/theme.json b/data/themes/default/theme.json
index 3e0d124..cbec1c9 100644
--- a/data/themes/default/theme.json
+++ b/data/themes/default/theme.json
@@ -1,5 +1,5 @@
 {
-    "name":"Default Glide Theme",
+    "name":"Glide",
     "default-background":"background.png",
     "default-color":"#ffffffff",
     "default-fontname":"Sans 35"   
diff --git a/data/themes/earth/Makefile.am b/data/themes/earth/Makefile.am
new file mode 100644
index 0000000..7969df1
--- /dev/null
+++ b/data/themes/earth/Makefile.am
@@ -0,0 +1,11 @@
+themedir=$(datadir)/glide/themes
+theme_DATA = earth.glide-theme
+
+theme_FILES = theme.json background.png
+
+earth.glide-theme: theme.json background.png
+	tar -cjspf earth.glide-theme $(theme_FILES)
+
+EXTRA_DIST = \
+	$(theme_DATA) \
+	$(theme_FILES)
\ No newline at end of file
diff --git a/data/themes/earth/background.png b/data/themes/earth/background.png
new file mode 100644
index 0000000..0b5a269
Binary files /dev/null and b/data/themes/earth/background.png differ
diff --git a/data/themes/red/theme.json b/data/themes/earth/theme.json
similarity index 85%
rename from data/themes/red/theme.json
rename to data/themes/earth/theme.json
index 9b71ee6..fc32742 100644
--- a/data/themes/red/theme.json
+++ b/data/themes/earth/theme.json
@@ -1,5 +1,5 @@
 {
-    "name":"Red",
+    "name":"Earth",
     "default-background":"background.png",
     "default-color":"#ffffffff",
     "default-fontname":"Sans 35"   
diff --git a/libglide/glide.c b/libglide/glide.c
index 307ada0..ec5c2db 100644
--- a/libglide/glide.c
+++ b/libglide/glide.c
@@ -122,7 +122,7 @@ glide_load_default_theme ()
   glide_theme_manager_refresh_theme_list ();
   glide_theme_manager_load_all ();
   
-  default_theme = glide_theme_manager_get_theme ("Default Glide Theme");
+  default_theme = glide_theme_manager_get_theme ("Glide");
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]