sessionMode: Add showCalendarEvents property

Add a sessionMode.showCalendarEvents property, which determines
whether the calendar menu should contain an events section or not.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner
2012-05-18 00:32:04 +02:00
parent 6bee51ed33
commit ba92cfa064
3 changed files with 6 additions and 9 deletions

View File

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