[gsettings-desktop-schemas] Add a whitelist in addition to a black list for search providers



commit ef6bb91a73300cbd40419c13a96bc92f2c7bc497
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Aug 1 13:06:10 2014 +0200

    Add a whitelist in addition to a black list for search providers
    
    We don't want to enable all search providers by default (for example
    gnome-weather has privacy implications), so we can't use a simple
    black list
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734108

 ...nome.desktop.search-providers.gschema.xml.in.in |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in 
b/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in
index cb1095b..25c9681 100644
--- a/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in
@@ -16,8 +16,8 @@
     <key name="disabled" type="as">
       <default>[]</default>
       <_summary>
-        List of desktop file IDs for which search provider should be
-        disabled
+        List of desktop file IDs for which the associated default-enabled search provider
+        should be disabled
       </_summary>
       <_description>
         Results for applications contained in this list will not be displayed
@@ -25,6 +25,18 @@
       </_description>
     </key>
 
+    <key name="enabled" type="as">
+      <default>[]</default>
+      <_summary>
+        List of desktop file IDs for which the associated default-disabled search provider
+        should be enabled
+      </_summary>
+      <_description>
+        Results for applications contained in this list will be displayed
+        when searching.
+      </_description>
+    </key>
+
     <key name="sort-order" type="as">
       <default>['gnome-contacts.desktop', 'gnome-documents.desktop', 'nautilus.desktop']</default>
       <_summary>List of desktop file IDs for search providers sort order</_summary>


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