Looking Glass: fix error line when there are no errors

The No error code path still used the old metadata object.

https://bugzilla.gnome.org/show_bug.cgi?id=669694
This commit is contained in:
Giovanni Campagna 2012-02-08 18:59:02 +01:00
parent d0cd6ba47d
commit 6ca0d4a5ef

View File

@ -776,7 +776,7 @@ const Extensions = new Lang.Class({
errorDisplay.add(new St.Label({ text: errors[i] }));
} else {
/* Translators: argument is an extension UUID. */
let message = _("%s has not emitted any errors.").format(meta.uuid);
let message = _("%s has not emitted any errors.").format(extension.uuid);
errorDisplay.add(new St.Label({ text: message }));
}