GNOME Bugzilla – Bug 722658
Extend the app-folders schema
Last modified: 2014-01-21 12:45:55 UTC
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.
Created attachment 266814 [details] [review] Extend the app-folders schema
Review of attachment 266814 [details] [review]: The documentation for those is a bit unclear. I'm fine with adding the keys though. ::: schemas/org.gnome.desktop.app-folders.gschema.xml.in.in @@ +31,3 @@ + <_summary>Categories</_summary> + <_description>A list of categories for which apps will be placed + into this folder by default.</_description> Is this in addition to the apps listed in "apps", or does one take preference? @@ +38,3 @@ + <_description>The 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> Is that only for Category based inclusion, or for apps listed in "apps" as well?
Here is the algorithm I gave to Jasper for finding all the apps that go in a folder: 1. Take all the apps that have one of the categories listed in the categories key 2. Add all the apps that are listed in the apps key 3. Remove all the apps that are listed in the excluded_apps key
Created attachment 266847 [details] [review] 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.
Review of attachment 266847 [details] [review]: ++
Attachment 266847 [details] pushed as 0402d1f - Extend the app-folders schema