Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelba committed Jan 30, 2019
1 parent bbb70ac commit 1c7d0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ping-monitor@samuel.bachmann.gmail.com/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ const Ping = new Lang.Class({
show_name: true, // show name in the system tray
show_address: true, // show address in the system tray
// show_tooltip: true, // show mouseover tooltip
warning_treshold: 20, // if ping ms higher -> orange
warning_threshold: 20, // if ping ms higher -> orange
ping_message: '', // the last ping result

color_name: ['used'],
Expand Down Expand Up @@ -929,7 +929,7 @@ const Ping = new Lang.Class({
this.color = Schema.get_string('ping-loss-color');
} else if (loss[1] == 100) {
this.color = Schema.get_string('ping-bad-color');
} else if (times[3] > this.warning_treshold) {
} else if (times[3] > this.warning_threshold) {
this.color = Schema.get_string('ping-warning-color');
} else {
this.color = Schema.get_string('ping-good-color');
Expand Down

0 comments on commit 1c7d0d1

Please sign in to comment.