Quick Settings toggle: after a countdown or at a set clock time, close chosen apps and/or shut down, restart or suspend the system.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-X-004 warning
extensions should avoid synchronous file IO in shell code
Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.
extension.js:128
Gio.File.new_for_path(CONFIG_PATH).load_contents(null)
EGO-L-002 warning
objects created by extension should be destroyed in disable()
Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.
extension.js:225
this._actionItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:217
this._appsItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:284
this._clockItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:242
this._delayItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:245
this._entry = new St.Entry({
hint_text: 'Custom minutes… (Enter)',
can_focus: true,
x_expand: true,
})
EGO-L-005 warning
owned object references should be released in disable()
Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.
extension.js:225
this._actionItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:217
this._appsItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:284
this._clockItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:242
this._delayItem = new PopupMenu.PopupSubMenuMenuItem('')
extension.js:245
this._entry = new St.Entry({
hint_text: 'Custom minutes… (Enter)',
can_focus: true,
x_expand: true,
})
EGO-L-003 warning
signals connected by extension should be disconnected in disable()
Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.
extension.js:207
this.menu.connect('open-state-changed', (_menu, open) => {
if (open) {
this._rebuildApps(); // drop apps that were closed meanwhile
this._refreshLabels(); // e.g. "today" may have become "tomorrow"
}
})
extension.js:307
item.menu.connect('open-state-changed', (_menu, open) => {
if (!open)
return;
for (const other of submenus) {
if (other !== item)
other.menu.close(false);
}
})
EGO-L-004 warning
main loop sources should be removed in disable()
Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.
extension.js:545
this._powerOffId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, GRACE_SECONDS, () => {
this._powerOffId = 0;
this._runSystemAction(cfg.action);
return GLib.SOURCE_REMOVE;
})
extension.js:495
this._tickId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 1, () => this._tick())
EGO-M-005 warning
metadata session-modes must be omitted when only user mode is declared
Field `session-modes` should be omitted when it only contains `user`.
metadata.json must be well-formed
metadata.json
session-modes=['user']
| Version | Status |
|---|---|
| 6 | Unreviewed |
| 5 | Rejected |
| 4 | Rejected |
| 3 | Rejected |
| 2 | Unreviewed |
| 1 | Rejected |