sessionMode: Add hasWorkspaces property

Add a sessionMode.hasWorkspaces property, which determines whether
the concept of workspaces should be exposed in the interface or not.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner
2012-05-17 15:32:32 +02:00
parent 5264f39209
commit ed17418101
2 changed files with 18 additions and 6 deletions

View File

@ -15,6 +15,7 @@ const _modes = {
allowExtensions: false,
allowKeybindingsWhenModal: true,
hasRunDialog: false,
hasWorkspaces: false,
sessionType: Shell.SessionType.GDM },
'user': { hasOverview: true,
@ -24,6 +25,7 @@ const _modes = {
allowExtensions: true,
allowKeybindingsWhenModal: false,
hasRunDialog: true,
hasWorkspaces: true,
sessionType: Shell.SessionType.USER }
};