[gnome-shell/wip/re-search-v2: 6/33] remote-search: document a 'description' key in the meta dictionary
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/re-search-v2: 6/33] remote-search: document a 'description' key in the meta dictionary
- Date: Mon, 3 Dec 2012 09:56:07 +0000 (UTC)
commit aa7fb66aee5f7bb7d15c81f4df4d3ac5f39bf8fc
Author: Tanner Doshier <doshitan gmail com>
Date: Mon Nov 26 17:15:57 2012 -0500
remote-search: document a 'description' key in the meta dictionary
This can be specified by the provider and will be displayed in the
search results.
data/org.gnome.ShellSearchProvider.xml | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/data/org.gnome.ShellSearchProvider.xml b/data/org.gnome.ShellSearchProvider.xml
index 4bf3076..fed1f91 100644
--- a/data/org.gnome.ShellSearchProvider.xml
+++ b/data/org.gnome.ShellSearchProvider.xml
@@ -113,9 +113,13 @@
<doc:summary>
<doc:para>
A dictionary describing the given search result, containing
- 'id', 'name' (both strings) and either 'icon' (a serialized
- GIcon) or 'icon-data' (raw image data as (iiibiiay) - width,
- height, rowstride, has-alpha, bits per sample, channels, data)
+ 'id' and 'name' (both strings). Optionally, either 'gicon' (a
+ serialized GIcon) or 'icon-data' (raw image data as (iiibiiay)
+ - width, height, rowstride, has-alpha, bits per sample,
+ channels, data) can be specified if the result can be better
+ served with a thumbnail of the content (such as with images).
+ A 'description' field (string) may also be specified if more
+ context would help the user find the desired result.
</doc:para>
</doc:summary>
</doc:doc>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]