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>
This commit is contained in:
parent
e7c728a4c1
commit
87927b8281
@ -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');
|
||||
|
||||
|
@ -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';
|
||||
|
@ -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');
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user