[gnome-shell] extensions-app: Pick up app ID from package
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] extensions-app: Pick up app ID from package
- Date: Thu, 11 Feb 2021 17:21:07 +0000 (UTC)
commit e8ca92a0ff5181b6fed9cc1c69a391d53c604656
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jan 22 22:08:41 2021 +0100
extensions-app: Pick up app ID from package
This will allow us to build different applications from the
same sources (namely "Extensions" and "Extensions Nightly").
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3612
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1661>
subprojects/extensions-app/js/main.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js
index 5b5a6e4036..d4b6ec79fd 100644
--- a/subprojects/extensions-app/js/main.js
+++ b/subprojects/extensions-app/js/main.js
@@ -41,7 +41,7 @@ var Application = GObject.registerClass(
class Application extends Gtk.Application {
_init() {
GLib.set_prgname('gnome-extensions-app');
- super._init({ application_id: 'org.gnome.Extensions' });
+ super._init({ application_id: Package.name });
this.connect('window-removed', (a, window) => window.run_dispose());
}
@@ -217,8 +217,8 @@ var ExtensionsWindow = GObject.registerClass({
program_name: _('Extensions'),
comments: _('Manage your GNOME Extensions'),
license_type: Gtk.License.GPL_2_0,
- logo_icon_name: 'org.gnome.Extensions',
- version: imports.package.version,
+ logo_icon_name: Package.name,
+ version: Package.version,
transient_for: this,
modal: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]