gnome-shell/gnome-shell-integrate_114.patch

112 lines
5.0 KiB
Diff

Index: gnome-shell-2.91.6/js/ui/status/accessibility.js
===================================================================
--- gnome-shell-2.91.6.orig/js/ui/status/accessibility.js
+++ gnome-shell-2.91.6/js/ui/status/accessibility.js
@@ -77,39 +77,39 @@ ATIndicator.prototype = {
client.add_dir(KEY_META_DIR, GConf.ClientPreloadType.PRELOAD_ONELEVEL, null);
client.notify_add(KEY_META_DIR, Lang.bind(this, this._keyChanged), null, null);
- let highContrast = this._buildHCItem();
- this.menu.addMenuItem(highContrast);
+ // let highContrast = this._buildHCItem();
+ // this.menu.addMenuItem(highContrast);
let magnifier = this._buildItem(_("Zoom"), MAGNIFIER_SCHEMA, 'show-magnifier');
this.menu.addMenuItem(magnifier);
- let textZoom = this._buildFontItem();
- this.menu.addMenuItem(textZoom);
+ // let textZoom = this._buildFontItem();
+ // this.menu.addMenuItem(textZoom);
- let screenReader = this._buildItem(_("Screen Reader"), AT_SCREEN_READER_SCHEMA, 'startup');
- this.menu.addMenuItem(screenReader);
+ // let screenReader = this._buildItem(_("Screen Reader"), AT_SCREEN_READER_SCHEMA, 'startup');
+ // this.menu.addMenuItem(screenReader);
- let screenKeyboard = this._buildItem(_("Screen Keyboard"), AT_SCREEN_KEYBOARD_SCHEMA, 'startup');
- this.menu.addMenuItem(screenKeyboard);
+ // let screenKeyboard = this._buildItem(_("Screen Keyboard"), AT_SCREEN_KEYBOARD_SCHEMA, 'startup');
+ // this.menu.addMenuItem(screenKeyboard);
let visualBell = this._buildItemGConf(_("Visual Alerts"), client, KEY_VISUAL_BELL);
this.menu.addMenuItem(visualBell);
- let stickyKeys = this._buildItem(_("Sticky Keys"), A11Y_SCHEMA, KEY_STICKY_KEYS_ENABLED);
- this.menu.addMenuItem(stickyKeys);
+ // let stickyKeys = this._buildItem(_("Sticky Keys"), A11Y_SCHEMA, KEY_STICKY_KEYS_ENABLED);
+ // this.menu.addMenuItem(stickyKeys);
- let slowKeys = this._buildItem(_("Slow Keys"), A11Y_SCHEMA, KEY_SLOW_KEYS_ENABLED);
- this.menu.addMenuItem(slowKeys);
+ // let slowKeys = this._buildItem(_("Slow Keys"), A11Y_SCHEMA, KEY_SLOW_KEYS_ENABLED);
+ // this.menu.addMenuItem(slowKeys);
- let bounceKeys = this._buildItem(_("Bounce Keys"), A11Y_SCHEMA, KEY_BOUNCE_KEYS_ENABLED);
- this.menu.addMenuItem(bounceKeys);
+ // let bounceKeys = this._buildItem(_("Bounce Keys"), A11Y_SCHEMA, KEY_BOUNCE_KEYS_ENABLED);
+ // this.menu.addMenuItem(bounceKeys);
- let mouseKeys = this._buildItem(_("Mouse Keys"), A11Y_SCHEMA, KEY_MOUSE_KEYS_ENABLED);
- this.menu.addMenuItem(mouseKeys);
+ // let mouseKeys = this._buildItem(_("Mouse Keys"), A11Y_SCHEMA, KEY_MOUSE_KEYS_ENABLED);
+ // this.menu.addMenuItem(mouseKeys);
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Universal Access Settings"), function() {
- Util.spawnDesktop('gnome-universal-access-panel');
+ Util.spawnDesktop('at-properties');
});
},
Index: gnome-shell-2.91.6/js/ui/panel.js
===================================================================
--- gnome-shell-2.91.6.orig/js/ui/panel.js
+++ gnome-shell-2.91.6/js/ui/panel.js
@@ -33,12 +33,11 @@ const ANIMATED_ICON_UPDATE_TIMEOUT = 100
const SPINNER_UPDATE_TIMEOUT = 130;
const SPINNER_SPEED = 0.02;
-const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'keyboard', 'volume', 'bluetooth', 'network', 'battery'];
+const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'volume', 'bluetooth', 'network', 'battery'];
const STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION = {
'a11y': imports.ui.status.accessibility.ATIndicator,
'volume': imports.ui.status.volume.Indicator,
'battery': imports.ui.status.power.Indicator,
- 'keyboard': imports.ui.status.keyboard.XKBIndicator
};
if (Config.HAVE_BLUETOOTH)
Index: gnome-shell-2.91.6/js/ui/statusMenu.js
===================================================================
--- gnome-shell-2.91.6.orig/js/ui/statusMenu.js
+++ gnome-shell-2.91.6/js/ui/statusMenu.js
@@ -154,12 +154,12 @@ StatusMenuButton.prototype = {
_onMyAccountActivate: function() {
Main.overview.hide();
- Util.spawnDesktop('gnome-user-accounts-panel');
+ Util.spawnDesktop('gnome-about-me');
},
_onPreferencesActivate: function() {
Main.overview.hide();
- Util.spawnDesktop('gnome-control-center');
+ Util.spawnDesktop('gnomecc');
},
_onLockScreenActivate: function() {
Index: gnome-shell-2.91.6/js/ui/dateMenu.js
===================================================================
--- gnome-shell-2.91.6.orig/js/ui/dateMenu.js
+++ gnome-shell-2.91.6/js/ui/dateMenu.js
@@ -200,7 +200,7 @@ DateMenuButton.prototype = {
_onPreferencesActivate: function() {
this.menu.close();
- Util.spawnDesktop('gnome-datetime-panel');
+ Util.spawnDesktop('YaST2-timezone');
},
_onOpenCalendarActivate: function() {