diff options
author | Martin Ellis <malard@gmail.com> | 2011-05-16 18:14:27 +0100 |
---|---|---|
committer | Martin Ellis <malard@gmail.com> | 2011-05-16 18:14:27 +0100 |
commit | 430ff7238c6a06d5bf66715d6a359d902d1018b9 (patch) | |
tree | 1e8f3a31b29b5c41af7a3976ab70bf517b728afd /addons | |
parent | 71e5255f39748591f36a744c0ed41fb28398d52a (diff) |
Added: setting to hide the exit button, useful for people running appliance based setups where exit would only confuse/complicate the user. Modifiable via the advancedsettings.xml by setting showexitbutton to false, default is true (show)
Diffstat (limited to 'addons')
-rw-r--r-- | addons/skin.confluence/720p/DialogButtonMenu.xml | 4 | ||||
-rw-r--r-- | addons/skin.confluence/720p/includes.xml | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/addons/skin.confluence/720p/DialogButtonMenu.xml b/addons/skin.confluence/720p/DialogButtonMenu.xml index 939f55eeed..ec8487b52e 100644 --- a/addons/skin.confluence/720p/DialogButtonMenu.xml +++ b/addons/skin.confluence/720p/DialogButtonMenu.xml @@ -135,6 +135,7 @@ <pulseonselect>no</pulseonselect> <font>-</font> <label>$LOCALIZE[13012]</label> + <visible>System.ShowExitButton</visible> </control> <control type="group" id="13"> <width>90</width> @@ -225,7 +226,8 @@ </control> </control> <control type="group"> - <posx>270</posx> + <include condition="System.ShowExitButton">ExitButtonOffset</include> + <include condition="!System.ShowExitButton">NoExitButtonOffset</include> <posy>70</posy> <visible>ControlGroup(13).HasFocus</visible> <include>VisibleFadeEffect</include> diff --git a/addons/skin.confluence/720p/includes.xml b/addons/skin.confluence/720p/includes.xml index 0fb34a537e..44122b3ff9 100644 --- a/addons/skin.confluence/720p/includes.xml +++ b/addons/skin.confluence/720p/includes.xml @@ -764,4 +764,10 @@ <animation effect="fade" time="300">Visible</animation> <animation effect="fade" time="300">Hidden</animation> </include> + <include name="ExitButtonOffset"> + <posx>270</posx> + </include> + <include name="NoExitButtonOffset"> + <posx>215</posx> + </include> </includes> |