screencast: Use sessionUpdated as our method name
This is what we consistently use everywhere else.
This commit is contained in:
parent
362e0bf1ec
commit
310dc03e2a
@ -41,8 +41,7 @@ const ScreencastService = new Lang.Class({
|
|||||||
|
|
||||||
this._recorders = new Hash.Map();
|
this._recorders = new Hash.Map();
|
||||||
|
|
||||||
Main.sessionMode.connect('updated',
|
Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated));
|
||||||
Lang.bind(this, this._sessionModeChanged));
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_ensureRecorderForSender: function(sender) {
|
_ensureRecorderForSender: function(sender) {
|
||||||
@ -57,7 +56,7 @@ const ScreencastService = new Lang.Class({
|
|||||||
return recorder;
|
return recorder;
|
||||||
},
|
},
|
||||||
|
|
||||||
_sessionModeChanged: function() {
|
_sessionUpdated: function() {
|
||||||
if (Main.sessionMode.allowScreencast)
|
if (Main.sessionMode.allowScreencast)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user