aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJezz_X <jezzx2@gmail.com>2012-05-11 17:28:41 +1000
committerJezz_X <jezzx2@gmail.com>2012-05-11 17:31:31 +1000
commit68c6f28fc7646da89b276b180ea72519702f026d (patch)
treeb6d38a49d9b00d91885f178a48b55933d4ac5447 /addons
parente13f7e0021e9ecdd14d6174d53620e6ed8a8fa5c (diff)
Fixed: [Confluence] Show Weather info on home option in skin settings didn't work also disabled it by default
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.confluence/720p/Home.xml15
-rw-r--r--addons/skin.confluence/720p/custom_SkinSetting_1111.xml3
2 files changed, 10 insertions, 8 deletions
diff --git a/addons/skin.confluence/720p/Home.xml b/addons/skin.confluence/720p/Home.xml
index 8a03fc6a21..d7734d8c5e 100644
--- a/addons/skin.confluence/720p/Home.xml
+++ b/addons/skin.confluence/720p/Home.xml
@@ -24,6 +24,7 @@
<texture>xbmc-logo.png</texture>
<include>VisibleFadeEffect</include>
<include>Window_OpenClose_Animation</include>
+ <visible>!Skin.HasSetting(homepageWeatherinfo)</visible>
</control>
<!-- Music Info -->
<control type="group">
@@ -816,7 +817,7 @@
<control type="group">
<posx>20</posx>
<posy>0</posy>
- <visible>false</visible>
+ <visible>Skin.HasSetting(homepageWeatherinfo) + !IsEmpty(Weather.Plugin)</visible>
<include>Window_OpenClose_Animation</include>
<control type="image">
<description>Weather image</description>
@@ -829,7 +830,7 @@
</control>
<control type="label">
<description>Location label</description>
- <posx>70</posx>
+ <posx>65</posx>
<posy>5</posy>
<width>500</width>
<height>15</height>
@@ -841,13 +842,13 @@
<label>$INFO[Window(Weather).Property(Location)]</label>
</control>
<control type="grouplist">
- <posx>70</posx>
+ <posx>65</posx>
<posy>20</posy>
<width>1000</width>
<height>30</height>
<orientation>horizontal</orientation>
<align>left</align>
- <itemgap>5</itemgap>
+ <itemgap>0</itemgap>
<control type="label">
<description>Temp label</description>
<width min="0" max="300">auto</width>
@@ -870,12 +871,12 @@
<shadowcolor>black</shadowcolor>
</control>
<control type="label">
- <description>Temp Units</description>
+ <description>Conditions Label</description>
<width>500</width>
- <height>30</height>
+ <height>22</height>
<font>font10</font>
<aligny>center</aligny>
- <label> $INFO[Window(Weather).Property(Current.Condition)]</label>
+ <label> $INFO[Window(Weather).Property(Current.Condition)]</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
</control>
diff --git a/addons/skin.confluence/720p/custom_SkinSetting_1111.xml b/addons/skin.confluence/720p/custom_SkinSetting_1111.xml
index 2061388330..1a68bf27b5 100644
--- a/addons/skin.confluence/720p/custom_SkinSetting_1111.xml
+++ b/addons/skin.confluence/720p/custom_SkinSetting_1111.xml
@@ -470,9 +470,10 @@
<focusedcolor>white</focusedcolor>
<label>20084</label>
<onclick>Skin.ToggleSetting(homepageWeatherinfo)</onclick>
- <selected>!Skin.HasSetting(homepageWeatherinfo)</selected>
+ <selected>Skin.HasSetting(homepageWeatherinfo)</selected>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
+ <visible>!IsEmpty(Weather.Plugin)</visible>
</control>
<control type="radiobutton" id="205">
<description>Show Recently added Video info</description>