mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
extensions-app: Set app version
GApplication now has a `version` property to support a `--version` flag on the commandline. It's a nice touch, so set it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3216>
This commit is contained in:
parent
578878e759
commit
be3b92ec45
1 changed files with 4 additions and 1 deletions
|
|
@ -14,7 +14,10 @@ var Application = GObject.registerClass(
|
|||
class Application extends Adw.Application {
|
||||
_init() {
|
||||
GLib.set_prgname('gnome-extensions-app');
|
||||
super._init({application_id: Package.name});
|
||||
super._init({
|
||||
application_id: Package.name,
|
||||
version: Package.version,
|
||||
});
|
||||
|
||||
this.connect('window-removed', (a, window) => window.run_dispose());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue