[chrome-gnome-shell] api: show errror instead of warning in case initialization failure
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] api: show errror instead of warning in case initialization failure
- Date: Wed, 8 Mar 2017 18:03:56 +0000 (UTC)
commit 160021840cd5a67b2d622382328507c457adc9be
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Wed Mar 8 21:44:46 2017 +0400
api: show errror instead of warning in case initialization failure
extension/include/sweettooth-api.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extension/include/sweettooth-api.js b/extension/include/sweettooth-api.js
index 069d74f..f1edc2f 100644
--- a/extension/include/sweettooth-api.js
+++ b/extension/include/sweettooth-api.js
@@ -109,7 +109,7 @@ window.SweetTooth = function () {
apiObject.apiVersion = null;
require(['messages'], function (messages) {
- messages.addWarning(message ? message :
GSC.getMessage('no_host_connector'));
+ messages.addError(message ? message :
GSC.getMessage('no_host_connector'));
})
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]