[gnome-shell-extensions/extension-live-disable] systemMonitor: fix typo



commit 8351799a166ad4171ac6cb74f0339aa8d1637c1b
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Aug 22 22:51:44 2011 +0200

    systemMonitor: fix typo
    
    The global box was variable was in fact called _box.

 extensions/systemMonitor/extension.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/systemMonitor/extension.js b/extensions/systemMonitor/extension.js
index 1072ee1..db7fe59 100644
--- a/extensions/systemMonitor/extension.js
+++ b/extensions/systemMonitor/extension.js
@@ -144,11 +144,11 @@ function init() {
 
 function enable() {
     _cpuIndicator = new CpuIndicator(); 
-    _memIndicator = new MemIndicator();
+    _memIndicator = new MemoryIndicator();
     _box = new St.BoxLayout({ style_class: 'extension-systemMonitor-container' });
-    box.add(_cpuIndicator.actor);
-    box.add(_memIndicator.actor);
-    Main.messageTray.actor.add_actor(box);
+    _box.add(_cpuIndicator.actor);
+    _box.add(_memIndicator.actor);
+    Main.messageTray.actor.add_actor(_box);
 }
 
 function disable() {



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