[gnome-system-tools] Update GSettings support



commit 9d1224b1d8258c178be45e2c2f6fbe1cdb772cb0
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Jun 7 21:49:40 2010 +0200

    Update GSettings support
    
    Add translation support to schema now that it's supported,
    and use INTLTOOL_XML_NOMERGE_RULE in Makefile.am. Schemas
    move to a .gschema.xml.in file, added to EXTRA_DIST.
    
    Change schema path to /apps/gnome-system-tools since we're
    keeping the classic GConf convention.

 Makefile.am                           |    3 ++-
 org.gnome.system-tools.gschema.xml    |   14 --------------
 org.gnome.system-tools.gschema.xml.in |   18 ++++++++++++++++++
 3 files changed, 20 insertions(+), 15 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c1a152e..7afcea7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,10 +14,11 @@ EXTRA_DIST = \
 	xmldocs.make		\
 	gnome-doc-utils.make	\
 	gnome-system-tools.pc.in \
-	$(gsettings_SCHEMAS)
+	org.gnome.system-tools.gschema.xml.in
 
 gsettings_SCHEMAS = org.gnome.system-tools.gschema.xml
 @GSETTINGS_RULES@
+ INTLTOOL_XML_NOMERGE_RULE@
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gnome-system-tools.pc
diff --git a/org.gnome.system-tools.gschema.xml.in b/org.gnome.system-tools.gschema.xml.in
new file mode 100644
index 0000000..a17c9d0
--- /dev/null
+++ b/org.gnome.system-tools.gschema.xml.in
@@ -0,0 +1,18 @@
+<schemalist>
+  <schema id="org.gnome.system-tools.users" path="/apps/gnome-system-tools/users/">
+    <key name="showall" type="b">
+      <default>false</default>
+      <_summary>Show system users</_summary>
+      <_description>
+        Whether the users-admin tool should show system users in the users list.
+      </_description>
+    </key>
+    <key name="showroot" type="b">
+      <default>false</default>
+      <_summary>Show root user</_summary>
+      <_description>
+        Whether the users-admin tool should show the root user in the users list.
+      </_description>
+    </key>
+  </schema>
+</schemalist>



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