mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
sessionMode: Add back external session modes
Since commit da4238ec68, external session modes are no longer
loaded during start-up; bring them back.
https://bugzilla.gnome.org/show_bug.cgi?id=720017
This commit is contained in:
parent
4d9a16f33b
commit
8e668ca633
1 changed files with 1 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ const SessionMode = new Lang.Class({
|
|||
Name: 'SessionMode',
|
||||
|
||||
_init: function() {
|
||||
_loadModes();
|
||||
let isPrimary = (_modes[global.session_mode] &&
|
||||
_modes[global.session_mode].isPrimary);
|
||||
let mode = isPrimary ? global.session_mode : 'user';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue