Re: Why gnome-shell disables the extensions when the screen is idle?
- From: Juan Simón <decedion gmail com>
- To: Gnome Mailing List <gnome-shell-list gnome org>
- Subject: Re: Why gnome-shell disables the extensions when the screen is idle?
- Date: Fri, 18 Mar 2016 17:39:20 +0100
Gnome-shell has limitations (like all desktop environments) and these limitations can be covered with extensions which, among other things, causes this desktop environment is a good choice. But after 4 years it seems incredible that there isn't yet complete and updated documentation about the Gnome libraries available for _javascript_: Is really this page (
https://wiki.gnome.org/Projects/GnomeShell/Extensions) the best documentation available?
This search shows nothing about extensions development:
https://developer.gnome.org/search?q=extensionsThe native tools to obtain such documentation doesn't even work:
$ g-ir-generate /usr/lib/gnome-shell/St-1.0.typelib > st.gir
$ g-ir-doc-tool --language gjs st.gir -o st
st.gir: Incompatible version 1.0 (supported: 1.2)
I edit the generated .gir file and change to version 1.2 in this line: <repository version="1.0"> but:
$ g-ir-doc-tool --language gjs st.gir -o st
Caught exception: <type 'exceptions.TypeError'> TypeError("'NoneType' object has no attribute '__getitem__'",)
> /usr/lib/gobject-introspection/giscanner/docwriter.py(826)field_is_writable()
-> if isinstance(resolved, ast.Compound) and node.type.ctype[-1] != '*':
.....
There isn't documentation and I can't generate it... :-(
--------------------
Regarding the disabling of the extensions when the session is idle. I don't find any logical reason for this. This complicates the programming of extensions and limits their functionality.
Regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]