Permalink
Browse files

changes confluence to support weather fanart addons

  • Loading branch information...
1 parent b09e10b commit 4b67b80f5d235fc4cad1fbd9707adeab31b2f539 Jonathan Marshall committed Feb 21, 2011
@@ -562,15 +562,15 @@
<icon>special://skin/backgrounds/weather.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
- <visible>!Skin.HasSetting(ShowWeatherFanart) | IsEmpty(Skin.String(WeatherFanartDir))</visible>
+ <visible>!Skin.HasSetting(ShowWeatherFanart) | IsEmpty(Weather.Fanart)</visible>
</item>
<item id="6">
<label>8</label>
<onclick>ActivateWindow(Weather)</onclick>
<icon>special://skin/backgrounds/weather.jpg</icon>
- <thumb>$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</thumb>
+ <thumb>$INFO[Weather.Fanart]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
- <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
+ <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Weather.Fanart)</visible>
</item>
<item id="1">
<label>0</label>
@@ -830,4 +830,4 @@
</control>
</control>
</controls>
-</window>
+</window>
@@ -747,14 +747,6 @@
<onclick>Skin.ToggleSetting(ShowWeatherFanart)</onclick>
<selected>!Skin.HasSetting(ShowWeatherFanart)</selected>
</control>
- <control type="button" id="201">
- <description>Search</description>
- <textwidth>170</textwidth>
- <include>ButtonMediaSubCommonValues</include>
- <label>31317</label>
- <onclick>Skin.SetPath(WeatherFanartDir)</onclick>
- <enable>Skin.HasSetting(ShowWeatherFanart)</enable>
- </control>
</control>
</control>
<control type="button" id="8999">
@@ -161,18 +161,18 @@
<timeperimage>10000</timeperimage>
<randomize>true</randomize>
<fadetime>1000</fadetime>
- <visible>![Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))]</visible>
+ <visible>![Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Weather.Fanart)]</visible>
</control>
<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
- <imagepath background="true">$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</imagepath>
+ <imagepath background="true">$INFO[Weather.Fanart]</imagepath>
<timeperimage>10000</timeperimage>
<randomize>true</randomize>
<fadetime>1000</fadetime>
- <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
+ <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Weather.Fanart)</visible>
<animation effect="fade" time="200">WindowClose</animation>
</control>
</include>

0 comments on commit 4b67b80

Please sign in to comment.