This patch fixes the problem of MythWeather not always being able
to find the correct weather icons after recent changes by J. Donovan
to allow weather icons to be in a weather sub directory under the theme
directory, which only Titivillus has that sub directory at the moment.

The Blue and GANT themes don't show any icon at all on the current
conditions screen and the Titivillus theme shows some icons from
its theme directory and others from the default theme directory.

The patch changes MythWeather to consistently look in the same
place for the weather icons on the current conditions page and the
extended forecast page.

It also changes the LoadImage() method in UIImageType to fall back
to looking directly in the Theme directory and the default theme directory
if it can't find the image in the given sub directory.

The only other problem is that the Titivillus theme has some of the
weather icons missing in the cvs. (cloudy.png, mcloudy.png, lshowers.png,
fog.png, flurries.png, pcloudy.png, fair.png, rainsnow.png). Titivillus
seems
to use the same icons as GANT so the easyiest way to fix this is to copy the
missing icons into the weather directory under the Titivillus theme
directory from
the GANT theme.

Paul

Attachment: mythweather.diff
Description: Binary data

Attachment: uitypes.diff
Description: Binary data

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to