From 39821fa26e0bdb36a768be782b4349f89e8f2909 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Tue, 20 Sep 2016 23:27:12 +0200 Subject: [PATCH] Slightly change text of "Weather data provided by"-button, to show the name of the services instead of their url. --- src/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.js b/src/extension.js index e4f7432..68210cf 100644 --- a/src/extension.js +++ b/src/extension.js @@ -377,7 +377,7 @@ const OpenweatherMenuButton = new Lang.Class({ this.refreshWeatherCurrent = OpenweathermapOrg.refreshWeatherCurrent; this.refreshWeatherForecast = OpenweathermapOrg.refreshWeatherForecast; - this.weatherProvider = "https://openweathermap.org/"; + this.weatherProvider = "OpenWeatherMap"; if (this._appid.toString().trim() === '') Main.notify("Openweather", _("Openweathermap.org does not work without an api-key.\nEither set the switch to use the extensions default key in the preferences dialog to on or register at http://openweathermap.org/appid and paste your personal key into the preferences dialog.")); @@ -391,7 +391,7 @@ const OpenweatherMenuButton = new Lang.Class({ this.refreshWeatherCurrent = DarkskyNet.refreshWeatherCurrent; this.refreshWeatherForecast = function() {}; - this.weatherProvider = "https://darksky.net/"; + this.weatherProvider = "Dark Sky"; this.fc_locale = 'en';