summaryrefslogtreecommitdiffstats
path: root/gui/devices/540x960
diff options
context:
space:
mode:
Diffstat (limited to 'gui/devices/540x960')
-rw-r--r--gui/devices/540x960/res/ui.xml23
1 files changed, 16 insertions, 7 deletions
diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml
index 078f1ae51..f636e2e0e 100644
--- a/gui/devices/540x960/res/ui.xml
+++ b/gui/devices/540x960/res/ui.xml
@@ -1328,7 +1328,7 @@
<object type="button">
<highlight color="%highlight_color%" />
<fill color="%button_fill_color%" />
- <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
+ <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
<font resource="font" color="%button_text_color%" />
<text>Backup Name: %tw_backup_name%</text>
<actions>
@@ -1446,8 +1446,8 @@
<page name="backupname1">
<object type="action">
- <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
- <action function="set">tw_backup_name=</function>
+ <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
+ <action function="generatebackupname"></function>
</object>
<object type="action">
@@ -1489,12 +1489,21 @@
<object type="button">
<highlight color="%highlight_color%" />
- <placement x="%col_center_x%" y="%row2_y%" />
+ <placement x="%col1_x%" y="%row2_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Append Date</text>
+ <image resource="main_button" />
+ <action function="appenddatetobackupname"></action>
+ </object>
+
+ <object type="button">
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row2_y%" />
<font resource="font" color="%button_text_color%" />
<text>Cancel</text>
<image resource="main_button" />
<actions>
- <action function="set">tw_backup_name=(Current Date)</action>
+ <action function="set">tw_backup_name=(Auto Generate)</action>
<action function="page">backup</action>
</actions>
</object>
@@ -1504,7 +1513,7 @@
<object type="action">
<touch key="home" />
<actions>
- <action function="set">tw_backup_name=(Current Date)</action>
+ <action function="set">tw_backup_name=(Auto Generate)</action>
<action function="page">main</action>
</actions>
</object>
@@ -1512,7 +1521,7 @@
<object type="action">
<touch key="back" />
<actions>
- <action function="set">tw_backup_name=(Current Date)</action>
+ <action function="set">tw_backup_name=(Auto Generate)</action>
<action function="page">backup</action>
</actions>
</object>