sessionMode: Add extraStylesheet property

Add a sessionMode.extraStylesheet property, which may be used for
mode-specific style information.

https://bugzilla.gnome.org/show_bug.cgi?id=676156
This commit is contained in:
Florian Müllner
2012-05-17 15:52:02 +02:00
parent c25e7f3c41
commit b5b13322d8
2 changed files with 4 additions and 4 deletions

View File

@ -18,6 +18,7 @@ const _modes = {
hasRunDialog: false,
hasWorkspaces: false,
createSession: Main.createGDMSession,
extraStylesheet: global.datadir + '/theme/gdm.css',
sessionType: Shell.SessionType.GDM },
'user': { hasOverview: true,
@ -29,6 +30,7 @@ const _modes = {
hasRunDialog: true,
hasWorkspaces: true,
createSession: Main.createUserSession,
extraStylesheet: null,
sessionType: Shell.SessionType.USER }
};