[gnome-shell] extensionPrefs: Rename to Extensions



commit 8795668c41177a389900c9ef30eb9edbf4472447
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jan 24 17:00:24 2020 +0100

    extensionPrefs: Rename to Extensions
    
    ... and make the application user-visible.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

 data/meson.build                                                      | 2 +-
 ...tension-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(-)
---
diff --git a/data/meson.build b/data/meson.build
index 1a3ed77c7e..87b52ce542 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 6460c707b3..666a194265 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 4f7499703a..0803761a1e 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 <didrocks ubuntu com>',
             ],
             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 29606c7ab6..1a5cc14d43 100644
--- a/js/extensionPrefs/ui/extensions-window.ui
+++ b/js/extensionPrefs/ui/extensions-window.ui
@@ -58,7 +58,7 @@
     <child type="titlebar">
       <object class="GtkHeaderBar">
         <property name="visible">True</property>
-        <property name="title" translatable="yes">Shell Extensions</property>
+        <property name="title" translatable="yes">Extensions</property>
         <property name="show_close_button">True</property>
         <child>
           <object class="GtkMenuButton">
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index 22d9e65e9b..05b7aca60d 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 a42d8f010f..fd09971b03 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]