From 77f06e830dc32689146cadb1225b2db41876708c Mon Sep 17 00:00:00 2001 From: fredo Date: Thu, 26 May 2011 07:11:56 +0200 Subject: [PATCH] Use symbolic icons also, we should add a flag to allow normal icon sets --- src/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.js b/src/extension.js index 1bfd6fb..714be73 100644 --- a/src/extension.js +++ b/src/extension.js @@ -61,7 +61,7 @@ WeatherMenuButton.prototype = { // Panel icon this._weatherIcon = new St.Icon({ - icon_type: St.IconType.FULLCOLOR, + icon_type: St.IconType.SYMBOLIC, icon_size: Main.panel.button.get_child().height - 4, icon_name: 'view-refresh-symbolic', style_class: 'weather-icon' + (Main.panel.actor.get_direction() == St.TextDirection.RTL ? '-rtl' : '') @@ -320,7 +320,7 @@ WeatherMenuButton.prototype = { // This will hold the icon for the current weather this._currentWeatherIcon = new St.Icon({ - icon_type: St.IconType.FULLCOLOR, //TODO SYMBOLIC not available in 64x64!? + icon_type: St.IconType.SYMBOLIC, icon_size: 64, icon_name: 'view-refresh-symbolic', style_class: 'weather-current-icon'