Review of "Harddisk LED NG" version 51.0.0 (2)

Details Page Preview

Show harddisk activity with IO speed and an LED. Click to cycle through display modes.

Extension Homepage
https://github.com/ChrisLauinger77/gnome-shell-extension-HardDiskLEDNG

No comments.

Diff Against

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

Destroy all objects

  • extension.js:159
            this.ioSpeed = new St.Label({
                text: "0B/s",
                y_align: Clutter.ActorAlign.CENTER,
                style_class: "harddiskledng-label",
            })
  • extension.js:165
            this.ioSpeedIcon = new St.Icon({
                gicon: Gio.icon_new_for_string(`${this.path}/icons/activity-led-symbolic.svg`),
                icon_size: 8,
                opacity: 0,
                y_align: Clutter.ActorAlign.CENTER,
                style_class: "harddiskledng-icon",
            })
  • extension.js:153
            this.ioSpeedStaticIcon = new St.Icon({
                style_class: "system-status-icon",
                y_align: Clutter.ActorAlign.CENTER,
                gicon: Gio.icon_new_for_string("drive-harddisk-symbolic"),
            })
  • extension.js:148
            this.layoutManager = new St.BoxLayout({
                orientation: Clutter.Orientation.HORIZONTAL,
                style_class: "harddiskledng-container",
            })

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.

Disconnect all signals

  • extension.js:176
    this.button.connect("button-press-event", this.changeMode.bind(this))

All Versions

Version Status
51.0.0 (2) Active
51.0.0 (1) Rejected

Previous Reviews on this Version

JustPerfection active