mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
js: Don't use global.log*
These are "deprecated", and are just references to the gjs logging functoins https://bugzilla.gnome.org/show_bug.cgi?id=675790
This commit is contained in:
parent
3a01aaf7fb
commit
ce041a3190
5 changed files with 11 additions and 10 deletions
|
|
@ -237,7 +237,7 @@ function logExtensionError(uuid, message, state) {
|
|||
extension.errors = [];
|
||||
|
||||
extension.errors.push(message);
|
||||
global.logError('Extension "%s" had error: %s'.format(uuid, message));
|
||||
log('Extension "%s" had error: %s'.format(uuid, message));
|
||||
state = state || ExtensionState.ERROR;
|
||||
_signals.emit('extension-state-changed', { uuid: uuid,
|
||||
error: message,
|
||||
|
|
@ -249,7 +249,7 @@ function loadExtension(dir, type, enabled) {
|
|||
let extension;
|
||||
|
||||
if (ExtensionUtils.extensions[uuid] != undefined) {
|
||||
global.logError('Extension "%s" is already loaded'.format(uuid));
|
||||
log('Extension "%s" is already loaded'.format(uuid));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue