sessionMode: Add panelStyle property
The panel should change appearance according to the sessionMode, so add a new panelStyle sessionMode property which allows to specify a mode specific style class for the panel actors. https://bugzilla.gnome.org/show_bug.cgi?id=684573
This commit is contained in:
@ -28,6 +28,7 @@ const _modes = {
|
||||
center: [],
|
||||
right: []
|
||||
},
|
||||
panelStyle: null
|
||||
},
|
||||
|
||||
'gdm': {
|
||||
@ -41,7 +42,8 @@ const _modes = {
|
||||
center: ['dateMenu'],
|
||||
right: ['a11y', 'display', 'keyboard',
|
||||
'volume', 'battery', 'powerMenu']
|
||||
}
|
||||
},
|
||||
panelStyle: 'login-screen'
|
||||
},
|
||||
|
||||
'lock-screen': {
|
||||
@ -54,6 +56,7 @@ const _modes = {
|
||||
center: [],
|
||||
right: ['lockScreen']
|
||||
},
|
||||
panelStyle: 'lock-screen'
|
||||
},
|
||||
|
||||
'unlock-dialog': {
|
||||
@ -65,6 +68,7 @@ const _modes = {
|
||||
center: [],
|
||||
right: ['a11y', 'keyboard', 'lockScreen']
|
||||
},
|
||||
panelStyle: 'unlock-screen'
|
||||
},
|
||||
|
||||
'initial-setup': {
|
||||
|
Reference in New Issue
Block a user