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

@@ -168,7 +168,7 @@ gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMo
gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMonitor --method com.soutade.GenericMonitor.deleteGroups '{"groups":["new"]}' gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMonitor --method com.soutade.GenericMonitor.deleteGroups '{"groups":["new"]}'
``` ```
Python examples are available @ https://indefero.soutade.fr/p/genericmonitor/source/tree/master/examples Python examples are available @ https://forge.soutade.fr/soutade/GnomeShellGenericMonitor/src/branch/master/examples
Development Development
@@ -176,6 +176,14 @@ Development
After doing code update, you can test it within a nested window. In other cases you have to restart GNOME. After doing code update, you can test it within a nested window. In other cases you have to restart GNOME.
mutter-dev-bin package is required
```bash
dbus-run-session gnome-shell --devkit --wayland
```
before GNOME 48
```bash ```bash
dbus-run-session -- gnome-shell --nested [--wayland] dbus-run-session -- gnome-shell --nested [--wayland]
``` ```

View File

@@ -104,7 +104,7 @@ class SignalMgt {
array.push(id); array.push(id);
id = widget.connect('scroll-event', this._onScroll.bind(this)); id = widget.connect('scroll-event', this._onScroll.bind(this));
array.push(id); 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); array.push(id);
} }

View File

@@ -2,9 +2,9 @@
"uuid": "generic-monitor@gnome-shell-extensions", "uuid": "generic-monitor@gnome-shell-extensions",
"name": "Generic Monitor", "name": "Generic Monitor",
"description": "Display text & icon on systray using DBUS", "description": "Display text & icon on systray using DBUS",
"version": "19", "version": "20",
"shell-version": [ "shell-version": [
"48" "49"
], ],
"url": "https://forge.soutade.fr/soutade/GnomeShellGenericMonitor" "url": "https://forge.soutade.fr/soutade/GnomeShellGenericMonitor"
} }