[gnome-shell/wip/fmuellner/minor-bug-fixes: 2/9] networkAgent: Fix mobile broadband notifications
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/minor-bug-fixes: 2/9] networkAgent: Fix mobile broadband notifications
- Date: Wed, 30 Jan 2019 12:09:23 +0000 (UTC)
commit bf5a4b3907470fc8d27fbe36c1aa333f4e0a5654
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jan 29 22:53:55 2019 +0100
networkAgent: Fix mobile broadband notifications
Currently their body message is assigned to an undefined variable
that isn't used for anything later.
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375
js/ui/components/networkAgent.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 08697b39a..0dad547dd 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -705,14 +705,14 @@ var NetworkAgent = class {
if (hints.indexOf('pin') != -1) {
let gsmSetting = connection.get_setting_gsm();
title = _("PIN code required");
- message = _("PIN code is needed for the mobile broadband device");
+ body = _("PIN code is needed for the mobile broadband device");
break;
}
// fall through
case 'cdma':
case 'bluetooth':
title = _("Mobile broadband network password");
- message = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
+ body = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
break;
default:
log('Invalid connection type: ' + connectionType);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]