Add gconf schema for settings-daemon that sets the default theme
authorChris Lord <chris@openedhand.com>
Thu, 27 Jul 2006 18:00:52 +0000 (18:00 +0000)
committerChris Lord <chris@openedhand.com>
Thu, 27 Jul 2006 18:00:52 +0000 (18:00 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@564 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/settings-daemon/files/settings-daemon.schemas [new file with mode: 0644]
meta/packages/settings-daemon/settings-daemon_svn.bb

diff --git a/meta/packages/settings-daemon/files/settings-daemon.schemas b/meta/packages/settings-daemon/files/settings-daemon.schemas
new file mode 100644 (file)
index 0000000..05b06c2
--- /dev/null
@@ -0,0 +1,17 @@
+<gconfschemafile>
+<schemalist>
+
+<schema>
+       <key>/schemas/desktop/poky/interface/theme</key>
+       <applyto>/desktop/poky/interface/theme</applyto>
+       <type>string</type>
+       <owner>settings-daemon</owner>
+       <default>Clearlooks</default>
+       <locale name="C">
+               <short>Palmtop theme</short>
+               <long>The theme name for Matchbox and GTK+ to use.</long>
+       </locale>
+</schema>
+</schemalist>
+</gconfschemafile>
+
index 097f6ab..1624aa6 100644 (file)
@@ -4,15 +4,19 @@ DEPENDS = "gconf glib-2.0"
 SECTION = "gpe"
 
 SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
-          file://70settings-daemon"
+          file://70settings-daemon \
+          file://settings-daemon.schemas"
 
 S = "${WORKDIR}/${PN}"
 
-inherit autotools pkgconfig gettext
+inherit autotools pkgconfig gettext gconf
 
 FILES_${PN} =  "${bindir} ${sysconfdir}"
 
 do_install_append () {
        install -d ${D}/${sysconfdir}/X11/Xsession.d
+       install -d ${D}/${sysconfdir}/gconf/schemas
        install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/
+       install -m 644 ${WORKDIR}/settings-daemon.schemas ${D}/${sysconfdir}/gconf/schemas/
 }
+