diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js index 73f0fcb5f..ffe090d78 100644 --- a/js/ui/sessionMode.js +++ b/js/ui/sessionMode.js @@ -21,6 +21,7 @@ const _modes = { isLocked: false, isGreeter: false, isPrimary: false, + buttonLayout: ['button-layout', 'org.gnome.shell.overrides'], unlockDialog: null, components: [], panel: { @@ -101,6 +102,29 @@ const _modes = { right: ['a11y', 'keyboard', 'volume', 'bluetooth', 'network', 'battery', 'userMenu'] } + }, + + 'foo': { + hasOverview: true, + showCalendarEvents: true, + allowSettings: true, + allowExtensions: true, + hasRunDialog: true, + hasWorkspaces: true, + hasWindows: true, + hasNotifications: true, + isLocked: false, + isPrimary: true, + buttonLayout: ['button-layout', 'org.gnome.shell-foo.overrides'], + unlockDialog: imports.ui.unlockDialog.UnlockDialog, + components: ['networkAgent', 'polkitAgent', 'telepathyClient', + 'keyring', 'recorder', 'autorunManager', 'automountManager'], + panel: { + left: ['activities', 'appMenu'], + center: ['dateMenu'], + right: ['a11y', 'keyboard', 'volume', 'bluetooth', + 'network', 'battery', 'userMenu'] + } } };