diff --git a/js/Makefile.am b/js/Makefile.am index 4216df8de..556240fa2 100644 --- a/js/Makefile.am +++ b/js/Makefile.am @@ -95,10 +95,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 795775f3d..1eca2b352 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -857,7 +857,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 4c849abfb..035739cca 100644 --- a/js/ui/sessionMode.js +++ b/js/ui/sessionMode.js @@ -60,7 +60,7 @@ const _modes = { unlockDialog: undefined, components: ['polkitAgent', 'telepathyClient'], panel: { - left: ['userMenu'], + left: [], center: [], right: ['lockScreen'] }, @@ -72,7 +72,7 @@ const _modes = { unlockDialog: undefined, components: ['polkitAgent', 'telepathyClient'], panel: { - left: ['userMenu'], + left: [], center: [], right: ['a11y', 'keyboard', 'lockScreen'] }, @@ -97,7 +97,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 66173d5ef..6a5e43df3 100644 --- a/js/ui/userMenu.js +++ b/js/ui/status/system.js @@ -39,12 +39,12 @@ const SystemdLoginSessionIface =