[gnome-shell/gbsneto/settings-rename] ui: Rename gnome-control-center to org.gnome.Settings




commit 87927b8281d992a753c3e9d1c5e0d6a31fd801f7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jan 21 10:24:02 2022 -0300

    ui: Rename gnome-control-center to org.gnome.Settings
    
    The app-id has changes since  [1].
    
    [1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1153
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2123>

 js/ui/backgroundMenu.js         | 2 +-
 js/ui/inhibitShortcutsDialog.js | 2 +-
 js/ui/remoteSearch.js           | 2 +-
 js/ui/status/system.js          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/backgroundMenu.js b/js/ui/backgroundMenu.js
index e31e4c1a99..c5763d9ad9 100644
--- a/js/ui/backgroundMenu.js
+++ b/js/ui/backgroundMenu.js
@@ -14,7 +14,7 @@ var BackgroundMenu = class BackgroundMenu extends PopupMenu.PopupMenu {
         this.addSettingsAction(_("Change Background…"), 'gnome-background-panel.desktop');
         this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
         this.addSettingsAction(_("Display Settings"), 'gnome-display-panel.desktop');
-        this.addSettingsAction(_("Settings"), 'gnome-control-center.desktop');
+        this.addSettingsAction(_('Settings'), 'org.gnome.Settings.desktop');
 
         this.actor.add_style_class_name('background-menu');
 
diff --git a/js/ui/inhibitShortcutsDialog.js b/js/ui/inhibitShortcutsDialog.js
index c59544eaf9..84081a9c52 100644
--- a/js/ui/inhibitShortcutsDialog.js
+++ b/js/ui/inhibitShortcutsDialog.js
@@ -7,7 +7,7 @@ const PermissionStore = imports.misc.permissionStore;
 
 const WAYLAND_KEYBINDINGS_SCHEMA = 'org.gnome.mutter.wayland.keybindings';
 
-const APP_ALLOWLIST = ['gnome-control-center.desktop'];
+const APP_ALLOWLIST = ['org.gnome.Settings.desktop'];
 const APP_PERMISSIONS_TABLE = 'gnome';
 const APP_PERMISSIONS_ID = 'shortcuts-inhibitor';
 const GRANTED = 'GRANTED';
diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js
index 137516bdcb..cfcf1e89d6 100644
--- a/js/ui/remoteSearch.js
+++ b/js/ui/remoteSearch.js
@@ -140,7 +140,7 @@ function loadRemoteSearchProviders(searchSettings, callback) {
     let sortOrder = searchSettings.get_strv('sort-order');
 
     // Special case gnome-control-center to be always active and always first
-    sortOrder.unshift('gnome-control-center.desktop');
+    sortOrder.unshift('org.gnome.Settings.desktop');
 
     const disabled = searchSettings.get_strv('disabled');
     const enabled = searchSettings.get_strv('enabled');
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index 6f71109c52..32320ab829 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -84,7 +84,7 @@ class Indicator extends PanelMenu.SystemIndicator {
         });
 
         let app = this._settingsApp = Shell.AppSystem.get_default().lookup_app(
-            'gnome-control-center.desktop');
+            'org.gnome.Settings.desktop');
         if (app) {
             const [icon] = app.app_info.get_icon().names;
             const name = app.app_info.get_name();


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