[gsettings-desktop-schemas] search: add a schema for desktop search providers



commit e10746de09230d07f88a777349a1239b2a076b16
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Oct 31 18:32:46 2012 -0400

    search: add a schema for desktop search providers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687489

 schemas/Makefile.am                                |    1 +
 ...nome.desktop.search-providers.gschema.xml.in.in |   40 ++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index 69722fb..732ec09 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -15,6 +15,7 @@ desktop_gschemas_in_in =						\
 	org.gnome.desktop.background.gschema.xml.in.in			\
 	org.gnome.desktop.media-handling.gschema.xml.in.in		\
 	org.gnome.desktop.screensaver.gschema.xml.in.in			\
+	org.gnome.desktop.search-providers.gschema.xml.in.in		\
 	org.gnome.desktop.wm.keybindings.gschema.xml.in.in		\
 	org.gnome.desktop.wm.preferences.gschema.xml.in.in		\
 	org.gnome.desktop.input-sources.gschema.xml.in.in
diff --git a/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in b/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in
new file mode 100644
index 0000000..d746649
--- /dev/null
+++ b/schemas/org.gnome.desktop.search-providers.gschema.xml.in.in
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<schemalist>
+  <schema id="org.gnome.desktop.search-providers" path="/org/gnome/desktop/search-providers/">
+
+    <key name="disable-external" type="b">
+      <default>false</default>
+      <_summary>Disable all external search providers</_summary>
+      <_description>
+        Set to true to disable all external search provider programs,
+        whether or not they are independently disabled or enabled.
+        External search providers are installed by applications in
+        $XDG_DATA_DIR/gnome-shell/search-providers.
+      </_description>
+    </key>
+
+    <key name="disabled" type="as">
+      <default>[]</default>
+      <_summary>
+        List of desktop file IDs for which search provider should be
+        disabled
+      </_summary>
+      <_description>
+        Results for applications contained in this list will not 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>
+      <_description>
+        Results for applications contained in this list will be displayed in
+        the specified order.
+        Results for applications not specified in this list will be displayed
+        before the last item of the list, if it has more than one item.
+      </_description>
+    </key>
+
+  </schema>
+</schemalist>



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