diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /addons/skin.estuary/xml/DialogButtonMenu.xml | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'addons/skin.estuary/xml/DialogButtonMenu.xml')
-rw-r--r-- | addons/skin.estuary/xml/DialogButtonMenu.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/addons/skin.estuary/xml/DialogButtonMenu.xml b/addons/skin.estuary/xml/DialogButtonMenu.xml new file mode 100644 index 0000000..2481777 --- /dev/null +++ b/addons/skin.estuary/xml/DialogButtonMenu.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<window> + <defaultcontrol>9000</defaultcontrol> + <include>Animation_DialogPopupOpenClose</include> + <controls> + <control type="group"> + <centerleft>50%</centerleft> + <width>600</width> + <centertop>50%</centertop> + <height>700</height> + <include content="DialogBackgroundCommons"> + <param name="width" value="600" /> + <param name="height" value="80" /> + <param name="header_label" value="$LOCALIZE[31072]" /> + <param name="header_id" value="2" /> + </include> + <control type="panel" id="9000"> + <include>ButtonMenuList</include> + <content> + <item> + <label>$LOCALIZE[13012]</label> + <onclick>Quit()</onclick> + <visible>System.ShowExitButton</visible> + </item> + <item> + <label>$LOCALIZE[13016]</label> + <onclick>Powerdown()</onclick> + <visible>System.CanPowerDown</visible> + </item> + <item> + <label>$LOCALIZE[20150]</label> + <onclick>AlarmClock(shutdowntimer,Shutdown())</onclick> + <visible>!System.HasAlarm(shutdowntimer)</visible> + <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible> + </item> + <item> + <label>$LOCALIZE[20151] $INFO[System.AlarmPos,(,)]</label> + <onclick>CancelAlarm(shutdowntimer)</onclick> + <visible>System.HasAlarm(shutdowntimer)</visible> + </item> + <item> + <label>$LOCALIZE[13011]</label> + <onclick>Suspend()</onclick> + <visible>System.CanSuspend</visible> + </item> + <item> + <label>$LOCALIZE[13010]</label> + <onclick>Hibernate()</onclick> + <visible>System.CanHibernate</visible> + </item> + <item> + <label>$LOCALIZE[13013]</label> + <onclick>Reset()</onclick> + <visible>System.CanReboot</visible> + </item> + <item> + <label>$LOCALIZE[20126] $INFO[system.profilename]</label> + <onclick>dialog.close(all,true)</onclick> + <onclick>System.LogOff</onclick> + <visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible> + <visible>System.Loggedon</visible> + </item> + <item> + <label>$VAR[MasterModeLabel]</label> + <onclick>mastermode</onclick> + <visible>System.HasLocks</visible> + </item> + <item> + <label>$LOCALIZE[13017]</label> + <onclick>InhibitIdleShutdown(true)</onclick> + <visible>System.HasShutdown +!System.IdleShutdownInhibited</visible> + </item> + <item> + <label>$LOCALIZE[13018]</label> + <onclick>InhibitIdleShutdown(false)</onclick> + <visible>System.HasShutdown + System.IdleShutdownInhibited</visible> + </item> + </content> + </control> + </control> + </controls> +</window> |