summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2006-07-27 18:00:52 +0000
committerChris Lord <chris@openedhand.com>2006-07-27 18:00:52 +0000
commit30c97f3d173d476670fcdc24d049bd52af396843 (patch)
treefc95b89fa04594c5e2ad08aad9fada63e4c31990
parent754b301af1f8b50a93b2d480bc69bfd5a6c91660 (diff)
downloadpoky-30c97f3d173d476670fcdc24d049bd52af396843.tar.gz
Add gconf schema for settings-daemon that sets the default theme
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@564 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/settings-daemon/files/settings-daemon.schemas17
-rw-r--r--meta/packages/settings-daemon/settings-daemon_svn.bb8
2 files changed, 23 insertions, 2 deletions
diff --git a/meta/packages/settings-daemon/files/settings-daemon.schemas b/meta/packages/settings-daemon/files/settings-daemon.schemas
new file mode 100644
index 0000000000..05b06c2022
--- /dev/null
+++ b/meta/packages/settings-daemon/files/settings-daemon.schemas
@@ -0,0 +1,17 @@
1<gconfschemafile>
2<schemalist>
3
4<schema>
5 <key>/schemas/desktop/poky/interface/theme</key>
6 <applyto>/desktop/poky/interface/theme</applyto>
7 <type>string</type>
8 <owner>settings-daemon</owner>
9 <default>Clearlooks</default>
10 <locale name="C">
11 <short>Palmtop theme</short>
12 <long>The theme name for Matchbox and GTK+ to use.</long>
13 </locale>
14</schema>
15</schemalist>
16</gconfschemafile>
17
diff --git a/meta/packages/settings-daemon/settings-daemon_svn.bb b/meta/packages/settings-daemon/settings-daemon_svn.bb
index 097f6abb57..1624aa625e 100644
--- a/meta/packages/settings-daemon/settings-daemon_svn.bb
+++ b/meta/packages/settings-daemon/settings-daemon_svn.bb
@@ -4,15 +4,19 @@ DEPENDS = "gconf glib-2.0"
4SECTION = "gpe" 4SECTION = "gpe"
5 5
6SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 6SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
7 file://70settings-daemon" 7 file://70settings-daemon \
8 file://settings-daemon.schemas"
8 9
9S = "${WORKDIR}/${PN}" 10S = "${WORKDIR}/${PN}"
10 11
11inherit autotools pkgconfig gettext 12inherit autotools pkgconfig gettext gconf
12 13
13FILES_${PN} = "${bindir} ${sysconfdir}" 14FILES_${PN} = "${bindir} ${sysconfdir}"
14 15
15do_install_append () { 16do_install_append () {
16 install -d ${D}/${sysconfdir}/X11/Xsession.d 17 install -d ${D}/${sysconfdir}/X11/Xsession.d
18 install -d ${D}/${sysconfdir}/gconf/schemas
17 install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/ 19 install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/
20 install -m 644 ${WORKDIR}/settings-daemon.schemas ${D}/${sysconfdir}/gconf/schemas/
18} 21}
22