Review of "Desktop Widgets (Desktop Clock)" version 16.0 (20)

Details Page Preview

Add widgets to the desktop. Widgets include: - Digital Clock - Analog Clock - Weather - Static Text - Images - Command Output – runs terminal commands at user defined intervals and displays the result Widgets can be freely repositioned by dragging them with your mouse. Note: The Desktop Icons extension may interfere with this feature. Please disable it temporarily to move widgets.

Extension Homepage
https://gitlab.com/AndrewZaech/azclock

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) error 2 warning 3

Shexli found 5 issues that may need reviewer attention.

EGO-P-002 error

GSettings schema path must use /org/gnome/shell/extensions base

GSettings schema path must start with `/org/gnome/shell/extensions`.

GSettings Schemas

  • schemas/org.gnome.shell.extensions.azclock.gschema.xml
    id='org.gnome.shell.extensions.azclock.widget-data' path=''
  • schemas/org.gnome.shell.extensions.azclock.gschema.xml
    id='org.gnome.shell.extensions.azclock.element-data' path=''

EGO-P-004 error

GSettings schema XML filename must match schema id

GSettings schema filename must match `<schema-id>.gschema.xml`.

GSettings Schemas

  • schemas/org.gnome.shell.extensions.azclock.gschema.xml
    id='org.gnome.shell.extensions.azclock.widget-data' path=''
  • schemas/org.gnome.shell.extensions.azclock.gschema.xml
    id='org.gnome.shell.extensions.azclock.element-data' path=''

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:453
    this._menu = new PopupMenu.PopupMenu(this, 0.5, St.Side.TOP)
  • extension.js:81
    this._menuManager = new PopupMenu.PopupMenuManager(this)
  • extension.js:486
    this._refreshWeatherMenuItem = new PopupMenu.PopupMenuItem(_('Refresh Weather'))

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:453
    this._menu = new PopupMenu.PopupMenu(this, 0.5, St.Side.TOP)
  • extension.js:81
    this._menuManager = new PopupMenu.PopupMenuManager(this)
  • extension.js:486
    this._refreshWeatherMenuItem = new PopupMenu.PopupMenuItem(_('Refresh Weather'))

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:419
    this.dragBeginId = this._draggable.connect('drag-begin', this._onDragBegin.bind(this))
  • extension.js:420
    this.dragEndId = this._draggable.connect('drag-end', this._onDragEnd.bind(this))

All Versions

Version Status
16.0 (20) Active
16.0 (19) Rejected
15.3 (18) Active
15.2 (17) Active
15.1 (16) Active
15.0 (15) Active
14 Active
13 Active
12 Active
11 Active
10 Active
9 Active
8 Rejected
7 Active
6 Active
5 Active
4 Active
3 Active
2 Active
1 Active

Previous Reviews on this Version

andrew_z posted a review
The remaining Shexli issues appear to be false positives.
fmuellner active