Update extension for GNOME 49

This commit is contained in:
2026-03-02 22:32:29 +01:00
parent 53489ab67e
commit c6907ea93f
3 changed files with 14 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ class SignalMgt {
array.push(id);
id = widget.connect('scroll-event', this._onScroll.bind(this));
array.push(id);
id = widget.connect('button-release-event', this._clicked.bind(this));
id = widget.connect('button-press-event', this._clicked.bind(this));
array.push(id);
}
@@ -150,7 +150,7 @@ class SignalMgt {
_doClickCallback() {
let right = '';
let nbClicks = '';
if (this.button == 3)
right = 'Right';
if (this.nbClicks > 1)
@@ -285,7 +285,7 @@ class MonitorWidget extends PanelMenu.Button {
Main.panel.addToStatusArea(this.fullname, this, position, box);
}
update(item) {
const prevWidget = this.widget;
const prevIcon = this.icon;