From 8795668c41177a389900c9ef30eb9edbf4472447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 24 Jan 2020 17:00:24 +0100 Subject: [PATCH] extensionPrefs: Rename to Extensions ... and make the application user-visible. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968 --- data/meson.build | 2 +- ...prefs.desktop.in.in => org.gnome.Extensions.desktop.in.in} | 3 +-- js/extensionPrefs/main.js | 4 ++-- js/extensionPrefs/ui/extensions-window.ui | 2 +- js/ui/shellDBus.js | 2 +- po/POTFILES.in | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) rename data/{gnome-shell-extension-prefs.desktop.in.in => org.gnome.Extensions.desktop.in.in} (83%) diff --git a/data/meson.build b/data/meson.build index 1a3ed77c7..87b52ce54 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,6 +1,6 @@ desktop_files = [ 'org.gnome.Shell.desktop', - 'gnome-shell-extension-prefs.desktop' + 'org.gnome.Extensions.desktop', ] service_files = [] diff --git a/data/gnome-shell-extension-prefs.desktop.in.in b/data/org.gnome.Extensions.desktop.in.in similarity index 83% rename from data/gnome-shell-extension-prefs.desktop.in.in rename to data/org.gnome.Extensions.desktop.in.in index 6460c707b..666a19426 100644 --- a/data/gnome-shell-extension-prefs.desktop.in.in +++ b/data/org.gnome.Extensions.desktop.in.in @@ -1,9 +1,8 @@ [Desktop Entry] Type=Application -Name=Shell Extensions +Name=Extensions Icon=org.gnome.Extensions Comment=Configure GNOME Shell Extensions Exec=@bindir@/gnome-shell-extension-prefs %u Categories=GNOME;GTK; OnlyShowIn=GNOME; -NoDisplay=true diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 4f7499703..0803761a1 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -28,7 +28,7 @@ class Application extends Gtk.Application { _init() { GLib.set_prgname('gnome-shell-extension-prefs'); super._init({ - application_id: 'org.gnome.shell.ExtensionPrefs', + application_id: 'org.gnome.Extensions', flags: Gio.ApplicationFlags.HANDLES_COMMAND_LINE, }); } @@ -173,7 +173,7 @@ var ExtensionsWindow = GObject.registerClass({ 'Didier Roche ', ], translator_credits: _('translator-credits'), - program_name: _('Shell Extensions'), + program_name: _('Extensions'), comments: _('Manage your GNOME Extensions'), license_type: Gtk.License.GPL_2_0, logo_icon_name: 'org.gnome.Extensions', diff --git a/js/extensionPrefs/ui/extensions-window.ui b/js/extensionPrefs/ui/extensions-window.ui index 29606c7ab..1a5cc14d4 100644 --- a/js/extensionPrefs/ui/extensions-window.ui +++ b/js/extensionPrefs/ui/extensions-window.ui @@ -58,7 +58,7 @@ True - Shell Extensions + Extensions True diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 22d9e65e9..05b7aca60 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -302,7 +302,7 @@ var GnomeShellExtensions = class { LaunchExtensionPrefs(uuid) { let appSys = Shell.AppSystem.get_default(); - let app = appSys.lookup_app('gnome-shell-extension-prefs.desktop'); + let app = appSys.lookup_app('org.gnome.Extensions.desktop'); let info = app.get_app_info(); let timestamp = global.display.get_current_time_roundtrip(); info.launch_uris([`extension:///${uuid}`], diff --git a/po/POTFILES.in b/po/POTFILES.in index a42d8f010..fd09971b0 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,7 +1,7 @@ # List of source files containing translatable strings. # Please keep this file sorted alphabetically. data/50-gnome-shell-system.xml -data/gnome-shell-extension-prefs.desktop.in.in +data/org.gnome.Extensions.desktop.in.in data/org.gnome.Shell.desktop.in.in data/org.gnome.shell.gschema.xml.in data/org.gnome.Shell.PortalHelper.desktop.in.in