diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js index edf2e0623..4738c2e29 100644 --- a/js/ui/sessionMode.js +++ b/js/ui/sessionMode.js @@ -184,6 +184,10 @@ const SessionMode = new Lang.Class({ return this._modeStack[this._modeStack.length - 1]; }, + get allowScreencast() { + return this.components.indexOf('recorder') != -1; + }, + _sync: function() { let params = this._modes[this.currentMode]; let defaults;