Review of "Caffeine 50" version 1

Details Page Preview

Disable the screensaver and auto suspend

Extension Homepage
https://github.com/eonpatapon/gnome-shell-extension-caffeine

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 2

Shexli found 2 issues that may need reviewer attention.

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`.

Destroy all objects

  • extension.js:1066
    this._settings = this.getSettings()
  • extension.js:153
    this._appSystem = Shell.AppSystem.get_default()

EGO-M-008 warning

extensions using unlock-dialog must document it in disable() comments

Extensions using `unlock-dialog` should document the reason in `disable()` comments.

Session Modes

  • extension.js:1077
        disable() {
            this._caffeineIndicator.destroy();
            this._caffeineIndicator = null;
    
            // Unregister shortcut
            Main.wm.removeKeybinding(TOGGLE_SHORTCUT);
        }

All Versions

Version Status
1 Unreviewed