Re: [Resend] gnome-search-provider Hello World



Hello again,

Maybe I'm doing it wrong, but when I delete all gnome-weather specific
code from the example I still can't run it, it does not finde the
SearchProvider2.xml :/

$ gjs searchprovider.js

(gjs:5665): Gjs-WARNING **: JS ERROR: Gio.ResourceError: The resource
at '/org/gnome/Shell/ShellSearchProvider2.xml' does not exist
@searchprovider.js:24

JS_EvaluateScript() failed

$ locate ShellSearchProvider2
/usr/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml

My file: https://gist.github.com/criztovyl/fb6d8a48da9a97d8e1d2

Thanks again.
Am Freitag, den 04.12.2015, 20:02 +0100 schrieb Florian Müllner:
On Fri, Dec 4, 2015 at 7:52 PM, Clemens <clemens lab21 org> wrote:
sry, didn't know that. it's just the simplest provider i know
and i thought it's easier for a python programmer to read js :)

No worries - unfortunately I don't know any examples in python, but
there's a non-extension JS example available at
https://git.gnome.org/browse/gnome-weather/tree/src/service/searchPro
vider.js.
-- 
Visit me:
http://joinout.de
http://criztovyl.joinout.de
https://github.com/criztovyl

Attachment: signature.asc
Description: This is a digitally signed message part



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