screencast: Use sessionUpdated as our method name

This is what we consistently use everywhere else.
This commit is contained in:
Jasper St. Pierre 2013-07-17 15:24:20 -04:00
parent 362e0bf1ec
commit 310dc03e2a

View File

@ -41,8 +41,7 @@ const ScreencastService = new Lang.Class({
this._recorders = new Hash.Map();
Main.sessionMode.connect('updated',
Lang.bind(this, this._sessionModeChanged));
Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated));
},
_ensureRecorderForSender: function(sender) {
@ -57,7 +56,7 @@ const ScreencastService = new Lang.Class({
return recorder;
},
_sessionModeChanged: function() {
_sessionUpdated: function() {
if (Main.sessionMode.allowScreencast)
return;