Reverting "extensionUtils: Remove unused property"

This reverts commit 28aa9201f0.

This broke the extension-state-changed signal.

https://bugzilla.gnome.org/show_bug.cgi?id=690173
This commit is contained in:
Jasper St. Pierre 2012-12-13 14:16:21 -05:00
parent 28aa9201f0
commit 783abd4f5f

View File

@ -132,6 +132,7 @@ function createExtensionObject(uuid, dir, type) {
extension.type = type; extension.type = type;
extension.dir = dir; extension.dir = dir;
extension.path = dir.get_path(); extension.path = dir.get_path();
extension.error = '';
extension.hasPrefs = dir.get_child('prefs.js').query_exists(null); extension.hasPrefs = dir.get_child('prefs.js').query_exists(null);
extensions[uuid] = extension; extensions[uuid] = extension;