[gnote] Add shell search provider using new approach
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add shell search provider using new approach
- Date: Sun, 28 Feb 2021 15:25:23 +0000 (UTC)
commit 248fff7cc08be7644d5adf03c8eb0d171078627b
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Feb 28 17:24:23 2021 +0200
Add shell search provider using new approach
data/Makefile.am | 7 ++-----
data/org.gnome.Gnote.search-provider.ini | 5 +++++
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 10b6ae16..359a1d70 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,11 +9,8 @@ desktop_files = $(desktop_in_files:.desktop.in=.desktop)
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_files)
-
-#pkgconfigdir = $(libdir)/pkgconfig
-#pkgconfig_in_files = tomboy-addins.pc.in
-#pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
-
+shellsearchdir = $(datadir)/gnome-shell/search-providers
+shellsearch_DATA = org.gnome.Gnote.search-provider.ini
gsettings_SCHEMAS = org.gnome.gnote.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
diff --git a/data/org.gnome.Gnote.search-provider.ini b/data/org.gnome.Gnote.search-provider.ini
new file mode 100644
index 00000000..073f7ab0
--- /dev/null
+++ b/data/org.gnome.Gnote.search-provider.ini
@@ -0,0 +1,5 @@
+[Shell Search Provider]
+DesktopId=gnote.desktop
+BusName=org.gnome.Gnote
+ObjectPath=/org/gnome/Gnote/SearchProvider
+Version=2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]