Merge pull request #40 from Odysseus86/patch-19

Added a comma between weather conditions and temperature in panel when "Show comment in panel" is on.
yahoo_weather
Christian Louis Gabriel METZLER 13 years ago
commit 44dbeb7f19
  1. 2
      src/extension.js

@ -877,7 +877,7 @@ WeatherMenuButton.prototype = {
if (this._text_in_panel)
weatherInfoT = temperature + ' ' + this.unit_to_unicode();
this._weatherInfo.text = weatherInfoC + ((weatherInfoC)?" ":"") + weatherInfoT;
this._weatherInfo.text = weatherInfoC + ((weatherInfoC)?", ":"") + weatherInfoT;
this._currentWeatherSummary.text = comment + ", " + temperature + ' ' + this.unit_to_unicode();
this._currentWeatherLocation.text = location;

Loading…
Cancel
Save