From 96bb892054bb9801fd2b5b7959ee2cec27c075ea Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 7 Jun 2007 23:46:28 +0000 Subject: [PATCH] back xml themes out of trunk --- CHANGELOG | 4 - Makefile.am | 36 +- data/menu.xml | 2 +- data/menu.xsd | 6 +- data/rc.xml | 2 +- data/rc.xsd | 7 +- data/themerc.xsd | 197 --- openbox/frame.c | 2 + parser/parse.c | 1 + render/theme.c | 1425 +++++++++-------- themes/Artwiz-boxed/openbox-3/themerc | 102 ++ themes/Artwiz-boxed/openbox-3/themerc.xml | 160 -- themes/Bear2/openbox-3/themerc | 83 + themes/Bear2/openbox-3/themerc.xml | 171 -- themes/Clearlooks-Olive/openbox-3/themerc | 121 ++ themes/Clearlooks-Olive/openbox-3/themerc.xml | 183 --- themes/Clearlooks/openbox-3/themerc | 118 ++ themes/Clearlooks/openbox-3/themerc.xml | 181 --- themes/Mikachu/openbox-3/themerc | 160 ++ themes/Mikachu/openbox-3/themerc.xml | 227 --- themes/Natura/openbox-3/themerc | 99 ++ themes/Natura/openbox-3/themerc.xml | 190 --- themes/Orang/openbox-3/themerc | 100 ++ themes/Orang/openbox-3/themerc.xml | 152 -- themes/Syscrash/openbox-3/themerc | 114 ++ themes/Syscrash/openbox-3/themerc.xml | 153 -- tools/themetoxml/Makefile | 4 - tools/themetoxml/rgb.h | 762 --------- tools/themetoxml/themetoxml.c | 635 -------- 29 files changed, 1707 insertions(+), 3690 deletions(-) create mode 100644 themes/Artwiz-boxed/openbox-3/themerc delete mode 100644 themes/Artwiz-boxed/openbox-3/themerc.xml create mode 100644 themes/Bear2/openbox-3/themerc delete mode 100644 themes/Bear2/openbox-3/themerc.xml create mode 100644 themes/Clearlooks-Olive/openbox-3/themerc delete mode 100644 themes/Clearlooks-Olive/openbox-3/themerc.xml create mode 100644 themes/Clearlooks/openbox-3/themerc delete mode 100644 themes/Clearlooks/openbox-3/themerc.xml create mode 100644 themes/Mikachu/openbox-3/themerc delete mode 100644 themes/Mikachu/openbox-3/themerc.xml create mode 100644 themes/Natura/openbox-3/themerc delete mode 100644 themes/Natura/openbox-3/themerc.xml create mode 100644 themes/Orang/openbox-3/themerc delete mode 100644 themes/Orang/openbox-3/themerc.xml create mode 100644 themes/Syscrash/openbox-3/themerc delete mode 100644 themes/Syscrash/openbox-3/themerc.xml diff --git a/CHANGELOG b/CHANGELOG index 326b8a7d..814bcdd4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,3 @@ -3.5: - * Changed theme format to xml, use the included themetoxml program to convert - themes to the new format. - 3.4: * Add Indian Bengali translation * Updated Italian translation diff --git a/Makefile.am b/Makefile.am index 8f4c14e2..baa62b33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,9 +36,6 @@ nodist_bin_SCRIPTS = \ data/xsession/openbox-gnome-session \ data/xsession/openbox-kde-session -noinst_PROGRAMS = \ - tools/themetoxml/themetoxml - ## render ## render_rendertest_CPPFLAGS = \ @@ -234,21 +231,6 @@ openbox_openbox_SOURCES = \ openbox/xerror.h -## themetoxml ## - -tools_themetoxml_themetoxml_CPPFLAGS = \ - $(X_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(XML_CFLAGS) -tools_themetoxml_themetoxml_LDADD = \ - $(X_LIBS) \ - $(GLIB_LIBS) \ - $(XML_LIBS) -tools_themetoxml_themetoxml_SOURCES = \ - tools/themetoxml/themetoxml.c \ - tools/themetoxml/rgb.h - - ## gnome-panel-control ## tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \ @@ -276,11 +258,11 @@ dist_docxbm_DATA = \ clearlooks_themedir = $(themedir)/Clearlooks/openbox-3 dist_clearlooks_theme_DATA= \ - themes/Clearlooks/openbox-3/themerc.xml + themes/Clearlooks/openbox-3/themerc clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3 dist_clearlooksolive_theme_DATA= \ - themes/Clearlooks-Olive/openbox-3/themerc.xml + themes/Clearlooks-Olive/openbox-3/themerc mikachu_themedir = $(themedir)/Mikachu/openbox-3 dist_mikachu_theme_DATA= \ @@ -289,7 +271,7 @@ dist_mikachu_theme_DATA= \ themes/Mikachu/openbox-3/desk.xbm \ themes/Mikachu/openbox-3/iconify.xbm \ themes/Mikachu/openbox-3/max.xbm \ - themes/Mikachu/openbox-3/themerc.xml + themes/Mikachu/openbox-3/themerc natura_themedir = $(themedir)/Natura/openbox-3 @@ -306,11 +288,11 @@ dist_natura_theme_DATA= \ themes/Natura/openbox-3/max.xbm \ themes/Natura/openbox-3/shade.xbm \ themes/Natura/openbox-3/shade_hover.xbm \ - themes/Natura/openbox-3/themerc.xml + themes/Natura/openbox-3/themerc artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3 dist_artwizboxed_theme_DATA= \ - themes/Artwiz-boxed/openbox-3/themerc.xml + themes/Artwiz-boxed/openbox-3/themerc bear2_themedir = $(themedir)/Bear2/openbox-3 dist_bear2_theme_DATA= \ @@ -325,11 +307,11 @@ dist_bear2_theme_DATA= \ themes/Bear2/openbox-3/max.xbm \ themes/Bear2/openbox-3/shade_pressed.xbm \ themes/Bear2/openbox-3/shade.xbm \ - themes/Bear2/openbox-3/themerc.xml + themes/Bear2/openbox-3/themerc orang_themedir = $(themedir)/Orang/openbox-3 dist_orang_theme_DATA= \ - themes/Orang/openbox-3/themerc.xml + themes/Orang/openbox-3/themerc syscrash_themedir = $(themedir)/Syscrash/openbox-3 dist_syscrash_theme_DATA= \ @@ -337,7 +319,7 @@ dist_syscrash_theme_DATA= \ themes/Syscrash/openbox-3/max_pressed.xbm \ themes/Syscrash/openbox-3/max_toggled.xbm \ themes/Syscrash/openbox-3/max.xbm \ - themes/Syscrash/openbox-3/themerc.xml + themes/Syscrash/openbox-3/themerc ## public headers ## @@ -403,7 +385,6 @@ dist_noinst_DATA = \ version.h.in \ data/rc.xsd \ data/menu.xsd \ - data/themerc.xsd \ data/xsession/openbox.desktop.in \ data/xsession/openbox-gnome.desktop.in \ data/xsession/openbox-kde.desktop.in \ @@ -446,7 +427,6 @@ dist_doc_DATA = \ COPYING \ data/rc.xsd \ data/menu.xsd \ - data/themerc.xsd \ doc/rc-mouse-focus.xml nodist_man_MANS = \ diff --git a/data/menu.xml b/data/menu.xml index d1bf4a6f..d460cbcd 100644 --- a/data/menu.xml +++ b/data/menu.xml @@ -1,6 +1,6 @@ - + diff --git a/data/menu.xsd b/data/menu.xsd index e20d1785..e3e1e17b 100644 --- a/data/menu.xsd +++ b/data/menu.xsd @@ -1,10 +1,10 @@ - + - + 10 diff --git a/data/rc.xsd b/data/rc.xsd index 3b7097ac..e256e448 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -3,8 +3,8 @@