[gnome-shell] extensionSystem: Fix error emitting when enabling/disabling



commit e1ec89a133f4cf8ba5d7a9ba3658d2b00bdb72a4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jul 11 22:46:59 2012 -0400

    extensionSystem: Fix error emitting when enabling/disabling
    
    We don't have an extension object here.

 js/ui/extensionSystem.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js
index 3addf7c..38aab59 100644
--- a/js/ui/extensionSystem.js
+++ b/js/ui/extensionSystem.js
@@ -215,7 +215,7 @@ function onEnabledExtensionsChanged() {
         try {
             enableExtension(uuid);
         } catch(e) {
-            logExtensionError(extension.uuid, e);
+            logExtensionError(uuid, e);
         }
     });
 
@@ -227,7 +227,7 @@ function onEnabledExtensionsChanged() {
         try {
             disableExtension(uuid);
         } catch(e) {
-            logExtensionError(extension.uuid, e);
+            logExtensionError(uuid, e);
         }
     });
 



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