elvetemedve / gnome-shell-extension-system-monitor

Gnome Shell extension for displaying resource usage
GNU General Public License v3.0
87 stars 14 forks source link

Resolve calling add_child() on actors #69

Closed elvetemedve closed 3 years ago

elvetemedve commented 3 years ago

The following JS warning appear in the system log:

[~/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/widget.js 52]: Too many arguments to method Clutter.Actor.add_child: expected 1, got 2

This change resolved that by passing the properties to the object being added as a child. Also deprecated properties are dropped like x_fill.