sessionMode: Add hasOverview property

Add a sessionMode.hasOverview property, which determines whether
the mode should give access to the overview or not.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner
2012-05-17 00:59:02 +02:00
parent 19318a1eeb
commit 122bca49ea
4 changed files with 20 additions and 16 deletions

View File

@ -8,9 +8,11 @@ const Params = imports.misc.params;
const DEFAULT_MODE = 'user';
const _modes = {
'gdm': { sessionType: Shell.SessionType.GDM },
'gdm': { hasOverview: false,
sessionType: Shell.SessionType.GDM },
'user': { sessionType: Shell.SessionType.USER }
'user': { hasOverview: true,
sessionType: Shell.SessionType.USER }
};
function modeExists(mode) {