sessionMode: Add allowExtensions property

Add a sessionMode.allowExtensions property, which determines whether
installed and enabled extensions should be loaded or ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner
2012-05-17 02:08:56 +02:00
parent a3fcb8c284
commit ab3173487d
2 changed files with 7 additions and 3 deletions

View File

@ -12,12 +12,14 @@ const _modes = {
hasAppMenu: false,
showCalendarEvents: false,
allowSettings: false,
allowExtensions: false,
sessionType: Shell.SessionType.GDM },
'user': { hasOverview: true,
hasAppMenu: true,
showCalendarEvents: true,
allowSettings: true,
allowExtensions: true,
sessionType: Shell.SessionType.USER }
};