aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2014-02-27 10:57:33 +1300
committerJonathan Marshall <jmarshall@never.you.mind>2014-02-27 11:24:04 +1300
commit9e149c50a1e7aa61c755df32fd02965863073aad (patch)
treed1e10cc95b5cebf2fd4438ed29de796039875edd /system
parent1217222c35b1ccbdb8606899996d735efa4fa44a (diff)
[settings] arrange/enable PVR settings a little nicer
Diffstat (limited to 'system')
-rw-r--r--system/settings/settings.xml27
1 files changed, 20 insertions, 7 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index 6345b31c93..d2432dc718 100644
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -1033,17 +1033,17 @@
<default>true</default>
<control type="toggle" />
</setting>
- <setting id="pvrmenu.infotimeout" type="boolean" label="19179" help="36213">
+ <setting id="pvrmenu.infotimeout" type="boolean" parent="pvrmenu.infoswitch" label="19179" help="36213">
<level>2</level>
<default>true</default>
<control type="toggle" />
+ <dependencies>
+ <dependency type="enable">
+ <condition setting="pvrmenu.infoswitch" operator="is">true</condition>
+ </dependency>
+ </dependencies>
</setting>
- <setting id="pvrmenu.closechannelosdonswitch" type="boolean" label="19229" help="36214">
- <level>2</level>
- <default>false</default>
- <control type="toggle" />
- </setting>
- <setting id="pvrmenu.infotime" type="integer" label="19184" help="36215">
+ <setting id="pvrmenu.infotime" type="integer" parent="pvrmenu.infoswitch" label="19184" help="36215">
<level>2</level>
<default>5</default>
<constraints>
@@ -1054,6 +1054,19 @@
<control type="spinner" format="string">
<formatlabel>14045</formatlabel>
</control>
+ <dependencies>
+ <dependency type="enable">
+ <and>
+ <condition setting="pvrmenu.infoswitch" operator="is">true</condition>
+ <condition setting="pvrmenu.infotimeout" operator="is">true</condition>
+ </and>
+ </dependency>
+ </dependencies>
+ </setting>
+ <setting id="pvrmenu.closechannelosdonswitch" type="boolean" label="19229" help="36214">
+ <level>2</level>
+ <default>false</default>
+ <control type="toggle" />
</setting>
</group>
<group id="2">