DEPRECATED! Please use the `Smart Home` extension instead.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
| Version | Status |
|---|---|
| 9 | Active |
| 8 | Inactive |
| 7 | Inactive |
| 6 | Inactive |
| 5 | Inactive |
| 4 | Active |
| 3 | Inactive |
| 2 | Inactive |
| 1 | Rejected |
What's the reason for import inside that function (line 51 prefs.js)?
In prefspage.js, I use gresource as template. See the use: "Template: 'resource:///org/gnome/Shell/Extensions/nano-lights...'" in prefspage.js on few places. So, I need to call: 'Gio.resources_register(resource);' in prefs.js before importing prefspage.js in order to have the templates working. That is reason for the dynamic import.
In prefspage.js, I use gresource as template. See the use: "Template: 'resource:///org/gnome/Shell/Extensions/nano-lights...'" in prefspage.js on few places. So, I need to call: 'Gio.resources_register(resource);' in prefs.js before importing prefspage.js in order to have the templates working. That is reason for the dynamic import.