[gnome-weather] Add '-large' suffix to the large icon variants



commit 052b52202ddac0b6d0039e46c32d17098e2a3511
Author: Vitaly Dyachkov <obyknovenius me com>
Date:   Fri Nov 20 17:11:09 2020 +0100

    Add '-large' suffix to the large icon variants
    
    This will prevent clashing icon names with ones provided by the icon
    theme.

 .../scalable/status/{weather-clear.svg => weather-clear-large.svg}      | 0
 .../status/{weather-clear-night.svg => weather-clear-night-large.svg}   | 0
 .../status/{weather-few-clouds.svg => weather-few-clouds-large.svg}     | 0
 ...{weather-few-clouds-night.svg => weather-few-clouds-night-large.svg} | 0
 .../hicolor/scalable/status/{weather-fog.svg => weather-fog-large.svg}  | 0
 .../status/{weather-overcast.svg => weather-overcast-large.svg}         | 0
 .../status/{weather-severe-alert.svg => weather-severe-alert-large.svg} | 0
 .../scalable/status/{weather-showers.svg => weather-showers-large.svg}  | 0
 ...eather-showers-scattered.svg => weather-showers-scattered-large.svg} | 0
 .../scalable/status/{weather-snow.svg => weather-snow-large.svg}        | 0
 .../scalable/status/{weather-storm.svg => weather-storm-large.svg}      | 0
 .../scalable/status/{weather-tornado.svg => weather-tornado-large.svg}  | 0
 .../scalable/status/{weather-windy.svg => weather-windy-large.svg}      | 0
 src/app/city.js                                                         | 2 +-
 14 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/icons/hicolor/scalable/status/weather-clear.svg 
b/data/icons/hicolor/scalable/status/weather-clear-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-clear.svg
rename to data/icons/hicolor/scalable/status/weather-clear-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-clear-night.svg 
b/data/icons/hicolor/scalable/status/weather-clear-night-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-clear-night.svg
rename to data/icons/hicolor/scalable/status/weather-clear-night-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-few-clouds.svg 
b/data/icons/hicolor/scalable/status/weather-few-clouds-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-few-clouds.svg
rename to data/icons/hicolor/scalable/status/weather-few-clouds-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-few-clouds-night.svg 
b/data/icons/hicolor/scalable/status/weather-few-clouds-night-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-few-clouds-night.svg
rename to data/icons/hicolor/scalable/status/weather-few-clouds-night-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-fog.svg 
b/data/icons/hicolor/scalable/status/weather-fog-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-fog.svg
rename to data/icons/hicolor/scalable/status/weather-fog-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-overcast.svg 
b/data/icons/hicolor/scalable/status/weather-overcast-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-overcast.svg
rename to data/icons/hicolor/scalable/status/weather-overcast-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-severe-alert.svg 
b/data/icons/hicolor/scalable/status/weather-severe-alert-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-severe-alert.svg
rename to data/icons/hicolor/scalable/status/weather-severe-alert-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-showers.svg 
b/data/icons/hicolor/scalable/status/weather-showers-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-showers.svg
rename to data/icons/hicolor/scalable/status/weather-showers-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-showers-scattered.svg 
b/data/icons/hicolor/scalable/status/weather-showers-scattered-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-showers-scattered.svg
rename to data/icons/hicolor/scalable/status/weather-showers-scattered-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-snow.svg 
b/data/icons/hicolor/scalable/status/weather-snow-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-snow.svg
rename to data/icons/hicolor/scalable/status/weather-snow-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-storm.svg 
b/data/icons/hicolor/scalable/status/weather-storm-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-storm.svg
rename to data/icons/hicolor/scalable/status/weather-storm-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-tornado.svg 
b/data/icons/hicolor/scalable/status/weather-tornado-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-tornado.svg
rename to data/icons/hicolor/scalable/status/weather-tornado-large.svg
diff --git a/data/icons/hicolor/scalable/status/weather-windy.svg 
b/data/icons/hicolor/scalable/status/weather-windy-large.svg
similarity index 100%
rename from data/icons/hicolor/scalable/status/weather-windy.svg
rename to data/icons/hicolor/scalable/status/weather-windy-large.svg
diff --git a/src/app/city.js b/src/app/city.js
index 91a6996..1be3c87 100644
--- a/src/app/city.js
+++ b/src/app/city.js
@@ -203,7 +203,7 @@ var WeatherWidget = GObject.registerClass({
         this._worldView.refilter();
 
         const iconTheme = Gtk.IconTheme.get_default();
-        const icon = iconTheme.load_icon(info.get_icon_name(), 84, 0);
+        const icon = iconTheme.load_icon(info.get_icon_name() + '-large', 84, 0);
         this._conditionsImage.set_from_pixbuf(icon);
 
         const [, tempValue] = info.get_value_temp(GWeather.TemperatureUnit.DEFAULT);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]