[gnome-shell/wip/aggregate-menu: 5/36] status: Rebrand the user menu as the system menu
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 5/36] status: Rebrand the user menu as the system menu
- Date: Wed, 29 May 2013 20:16:41 +0000 (UTC)
commit 067ce53787c8714d2005c2454182aa8d39ba94f6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed May 22 14:46:47 2013 -0400
status: Rebrand the user menu as the system menu
As the user menu no longer really shows anything about the user, and just
power menu and settings, it's not really deserving of the "user menu" name,
so rename it to the ever-blandly-named "system menu".
js/Makefile.am | 2 +-
js/ui/panel.js | 2 +-
js/ui/sessionMode.js | 6 +++---
js/ui/{userMenu.js => status/system.js} | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/js/Makefile.am b/js/Makefile.am
index 0ff1243..622a556 100644
--- a/js/Makefile.am
+++ b/js/Makefile.am
@@ -93,10 +93,10 @@ nobase_dist_js_DATA = \
ui/status/power.js \
ui/status/volume.js \
ui/status/bluetooth.js \
+ ui/status/system.js \
ui/switcherPopup.js \
ui/tweener.js \
ui/unlockDialog.js \
- ui/userMenu.js \
ui/userWidget.js \
ui/viewSelector.js \
ui/wanda.js \
diff --git a/js/ui/panel.js b/js/ui/panel.js
index ded8cee..dbd03fb 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -932,7 +932,7 @@ const PANEL_ITEM_IMPLEMENTATIONS = {
'lockScreen': imports.ui.status.lockScreenMenu.Indicator,
'keyboard': imports.ui.status.keyboard.InputSourceIndicator,
'powerMenu': imports.gdm.powerMenu.PowerMenuButton,
- 'userMenu': imports.ui.userMenu.UserMenuButton
+ 'system': imports.ui.status.system.Indicator,
};
if (Config.HAVE_BLUETOOTH)
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index 4738c2e..fb5147b 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -59,7 +59,7 @@ const _modes = {
unlockDialog: undefined,
components: ['polkitAgent', 'telepathyClient'],
panel: {
- left: ['userMenu'],
+ left: [],
center: [],
right: ['lockScreen']
},
@@ -71,7 +71,7 @@ const _modes = {
unlockDialog: undefined,
components: ['polkitAgent', 'telepathyClient'],
panel: {
- left: ['userMenu'],
+ left: [],
center: [],
right: ['a11y', 'keyboard', 'lockScreen']
},
@@ -96,7 +96,7 @@ const _modes = {
left: ['activities', 'appMenu'],
center: ['dateMenu'],
right: ['a11y', 'keyboard', 'volume', 'bluetooth',
- 'network', 'battery', 'userMenu']
+ 'network', 'battery', 'system']
}
}
};
diff --git a/js/ui/userMenu.js b/js/ui/status/system.js
similarity index 99%
rename from js/ui/userMenu.js
rename to js/ui/status/system.js
index a10d5d4..a1c2990 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/status/system.js
@@ -39,12 +39,12 @@ const SystemdLoginSessionIface = <interface name='org.freedesktop.login1.Session
const SystemdLoginSession = Gio.DBusProxy.makeProxyWrapper(SystemdLoginSessionIface);
-const UserMenuButton = new Lang.Class({
- Name: 'UserMenuButton',
+const Indicator = new Lang.Class({
+ Name: 'SystemIndicator',
Extends: PanelMenu.SystemStatusButton,
_init: function() {
- this.parent('user-available-symbolic', _("User Menu"));
+ this.parent('system-shutdown-symbolic', _("System"));
this._screenSaverSettings = new Gio.Settings({ schema: SCREENSAVER_SCHEMA });
this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]