Merge pull request #62 from Odysseus86/patch-5

Small change to the string on the panel
yahoo_weather
Christian Louis Gabriel METZLER 12 years ago
commit d0a77c5e9a
  1. 2
      src/extension.js

@ -1196,7 +1196,7 @@ const WeatherMenuButton = new Lang.Class({
if (this._text_in_panel)
weatherInfoT = parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
this._weatherInfo.text = weatherInfoC + ((weatherInfoC)?", ":"") + weatherInfoT;
this._weatherInfo.text = weatherInfoC + ((weatherInfoC && weatherInfoT) ? ", " : "") + weatherInfoT;
this._currentWeatherSummary.text = comment + ", " + parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
this._currentWeatherLocation.text = location;

Loading…
Cancel
Save