summaryrefslogtreecommitdiffstats
path: root/gui/devices/watch/res
diff options
context:
space:
mode:
Diffstat (limited to 'gui/devices/watch/res')
-rw-r--r--gui/devices/watch/res/watch.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml
index 686b24b3f..00f449ea8 100644
--- a/gui/devices/watch/res/watch.xml
+++ b/gui/devices/watch/res/watch.xml
@@ -2118,6 +2118,32 @@
<object type="button">
<highlight color="%highlight_color%" />
<conditions>
+ <condition var1="tw_has_mtp" var2="1" />
+ <condition var1="tw_mtp_enabled" var2="0" />
+ </conditions>
+ <placement x="%col2_x%" y="row4_y" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Enable MTP</text>
+ <image resource="main_button" />
+ <action function="startmtp"></action>
+ </object>
+
+ <object type="button">
+ <highlight color="%highlight_color%" />
+ <conditions>
+ <condition var1="tw_has_mtp" var2="1" />
+ <condition var1="tw_mtp_enabled" var2="1" />
+ </conditions>
+ <placement x="%col2_x%" y="row4_y" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Disable MTP</text>
+ <image resource="main_button" />
+ <action function="stopmtp"></action>
+ </object>
+
+ <object type="button">
+ <highlight color="%highlight_color%" />
+ <conditions>
<condition var1="tw_is_encrypted" var2="1" />
<condition var1="tw_is_decrypted" var2="0" />
</conditions>