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
@ -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…
Reference in New Issue
Block a user