[gsettings-desktop-schemas] Extend the app-folders schema



commit 0402d1fed4f6c323e174d98742e97a95785f2664
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 20 17:03:56 2014 -0500

    Extend the app-folders schema
    
    To replace the previous functionality of having default folders
    for (some) categories, we need add some more keys to app-folder
    schema.
    
    The categories key defines a list of categories that should be
    put into the folder by default.
    
    The excluded-apps key provides a way to override the placement
    by categories for individual apps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722658

 ...org.gnome.desktop.app-folders.gschema.xml.in.in |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in 
b/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
index 95d3f7e..b855140 100644
--- a/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.app-folders.gschema.xml.in.in
@@ -23,8 +23,22 @@
     <key name="apps" type="as">
       <default>[]</default>
       <_summary>Applications</_summary>
-      <_description>The list of IDs of applications that are included in
-      this folder.</_description>
+      <_description>The list of IDs of applications that are explicitly
+      included in this folder.</_description>
+    </key>
+    <key name="categories" type="as">
+      <default>[]</default>
+      <_summary>Categories</_summary>
+      <_description>A list of categories for which apps will be placed
+      into this folder by default, in addition to the apps that are
+      listed in the apps key.</_description>
+    </key>
+    <key name="excluded-apps" type="as">
+      <default>[]</default>
+      <_summary>Excluded applications</_summary>
+      <_description>A list of ids of applications that are excluded
+      from this folder. This can be used to remove applications that
+      would otherwise be included by category.</_description>
     </key>
   </schema>
 </schemalist>


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