[gnome-shell] ExtensionSystem: fix uninstalling from website



commit 64ce622f8381ffbecbae98c9a4760917cd586377
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu Mar 1 15:57:01 2012 +0100

    ExtensionSystem: fix uninstalling from website
    
    uninstall function was still referring to the old state and error
    objects, which were removed by the refactoring.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671134

 js/ui/extensionSystem.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js
index a5f0023..fb811c2 100644
--- a/js/ui/extensionSystem.js
+++ b/js/ui/extensionSystem.js
@@ -103,8 +103,6 @@ function uninstallExtensionFromUUID(uuid) {
     _signals.emit('extension-state-changed', extension);
 
     delete ExtensionUtils.extensions[uuid];
-    delete extensionStateObjs[uuid];
-    delete errors[uuid];
 
     FileUtils.recursivelyDeleteDir(Gio.file_new_for_path(extension.path));
 



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