diff --git a/data/Makefile.am b/data/Makefile.am index 6858a4aa0..c998dce16 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -11,7 +11,9 @@ desktop_DATA = gnome-shell.desktop gnome-shell-extension-prefs.desktop @INTLTOOL_DESKTOP_RULE@ introspectiondir = $(datadir)/dbus-1/interfaces -introspection_DATA = org.gnome.ShellSearchProvider.xml +introspection_DATA = \ + org.gnome.ShellSearchProvider.xml \ + org.gnome.ShellSearchProvider2.xml themedir = $(pkgdatadir)/theme dist_theme_DATA = \ diff --git a/data/org.gnome.ShellSearchProvider.xml b/data/org.gnome.ShellSearchProvider.xml index 8a7ab2cfd..48f60081b 100644 --- a/data/org.gnome.ShellSearchProvider.xml +++ b/data/org.gnome.ShellSearchProvider.xml @@ -8,7 +8,7 @@ @short_description: Search provider interface The interface used for integrating into GNOME Shell's search - interface. + interface. This interface is deprecated, and org.gnome.Shell.SearchProvider2 should be used instead. --> diff --git a/data/org.gnome.ShellSearchProvider2.xml b/data/org.gnome.ShellSearchProvider2.xml new file mode 100644 index 000000000..5719f09be --- /dev/null +++ b/data/org.gnome.ShellSearchProvider2.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/shell/Makefile.am b/docs/reference/shell/Makefile.am index 2bb039542..ec93b23c3 100644 --- a/docs/reference/shell/Makefile.am +++ b/docs/reference/shell/Makefile.am @@ -82,9 +82,17 @@ doc-gen-org.gnome.Shell.SearchProvider.xml: $(top_srcdir)/data/org.gnome.ShellSe --generate-docbook doc-gen \ $(top_srcdir)/data/org.gnome.ShellSearchProvider.xml +doc-gen-org.gnome.Shell.SearchProvider2.xml: $(top_srcdir)/data/org.gnome.ShellSearchProvider2.xml + gdbus-codegen \ + --interface-prefix org.gnome.ShellSearchProvider2. \ + --generate-docbook doc-gen \ + $(top_srcdir)/data/org.gnome.ShellSearchProvider2.xml + # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). # e.g. content_files=running.sgml building.sgml changes-2.0.sgml -content_files= doc-gen-org.gnome.Shell.SearchProvider.xml +content_files= \ + doc-gen-org.gnome.Shell.SearchProvider.xml \ + doc-gen-org.gnome.Shell.SearchProvider2.xml # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded # These files must be listed here *and* in content_files diff --git a/docs/reference/shell/shell-docs.sgml.in b/docs/reference/shell/shell-docs.sgml.in index c2d874803..984ea6426 100644 --- a/docs/reference/shell/shell-docs.sgml.in +++ b/docs/reference/shell/shell-docs.sgml.in @@ -44,6 +44,7 @@ Integration helpers and utilities +