[gsettings-desktop-schemas] Add an app folder setting



commit 207d474fbf97c494e85ca934bc3eb1070dc15532
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 18 15:52:24 2013 -0500

    Add an app folder setting
    
    This schema is needed for gnome-shell and gnome-software to
    communicate about application folders, which are configured
    in gnome-software and displayed in gnome-shell.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720698

 po/POTFILES.in                                     |    1 +
 schemas/Makefile.am                                |    3 +-
 ...org.gnome.desktop.app-folders.gschema.xml.in.in |   30 ++++++++++++++++++++
 3 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 322431b..29db614 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,6 +5,7 @@ schemas/org.gnome.desktop.a11y.applications.gschema.xml.in.in
 schemas/org.gnome.desktop.a11y.keyboard.gschema.xml.in.in
 schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
 schemas/org.gnome.desktop.a11y.mouse.gschema.xml.in.in
+schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
 schemas/org.gnome.desktop.background.gschema.xml.in.in
 schemas/org.gnome.desktop.datetime.gschema.xml.in.in
 schemas/org.gnome.desktop.default-applications.gschema.xml.in.in
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index 0ac1aa8..165cc7d 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -22,7 +22,8 @@ desktop_gschemas_in_in =                                              \
        org.gnome.desktop.wm.preferences.gschema.xml.in.in              \
        org.gnome.desktop.input-sources.gschema.xml.in.in               \
        org.gnome.desktop.privacy.gschema.xml.in.in                     \
-       org.gnome.desktop.notifications.gschema.xml.in.in
+       org.gnome.desktop.notifications.gschema.xml.in.in               \
+       org.gnome.desktop.app-folders.gschema.xml.in.in
 
 @INTLTOOL_XML_NOMERGE_RULE@
 
diff --git a/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in 
b/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
new file mode 100644
index 0000000..56630db
--- /dev/null
+++ b/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
@@ -0,0 +1,30 @@
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+  <schema id="org.gnome.desktop.app-folders" path="/org/gnome/desktop/app-folders/">
+    <key name="folder-children" type="as">
+      <default>[]</default>
+      <_summary>Folder children</_summary>
+      <_description>List of relative settings paths at which app-folders are
+        stored. Each folder uses the org.gnome.desktop.app-folders.folder
+        schema.</_description>
+    </key>
+  </schema>
+  <schema id="org.gnome.desktop.app-folders.folder">
+    <key name="name" type="s">
+      <default>''</default>
+      <_summary>Folder name</_summary>
+      <_description>The name of the application folder.</_description>
+    </key>
+    <key name="translate" type="b">
+      <default>false</default>
+      <_summary>Translate the name</_summary>
+      <_description>Whether the name key is a filename to be looked up in
+      /usr/share/desktop-directories.</_description>
+    </key>
+    <key name="apps" type="as">
+      <default>[]</default>
+      <_summary>Applications</_summary>
+      <_description>The list of ids of applications that are included in
+      this this folder.</_description>
+    </key>
+  </schema>
+</schemalist>


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