[gnome-shell/wip/aggregate-menu: 45/48] screencast: Use sessionUpdated as our method name



commit a79adc17f1bac4136c52236b12027be691fa5e64
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jul 17 15:24:20 2013 -0400

    screencast: Use sessionUpdated as our method name
    
    This is what we consistently use everywhere else.

 js/ui/screencast.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/screencast.js b/js/ui/screencast.js
index 4a14933..307cab0 100644
--- a/js/ui/screencast.js
+++ b/js/ui/screencast.js
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]