Fix setting of symbolic icon

yahoo_weather
Neroth 13 years ago
parent 4b44588769
commit 7bdf2a8fa6
  1. 4
      src/extension.js

@ -866,14 +866,14 @@ WeatherMenuButton.prototype = {
this._sunriseIcon = new St.Icon({
icon_type: this._icon_type,
icon_size: 15,
icon_name: 'weather-clear'+(this._icon_type == St.IconType.SYMBOLIC ? '-symbolic' : ''),
icon_name: 'weather-clear',
style_class: 'weather-sunrise-icon'
});
this._sunsetIcon = new St.Icon({
icon_type: this._icon_type,
icon_size: 15,
icon_name: 'weather-clear-night'+(this._icon_type == St.IconType.SYMBOLIC ? '-symbolic' : ''),
icon_name: 'weather-clear-night',
style_class: 'weather-sunset-icon'
});

Loading…
Cancel
Save