diff options
author | Dees Troy <dees_troy@teamw.in> | 2013-09-10 19:36:41 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@198.50.184.117> | 2013-09-12 16:11:13 +0200 |
commit | b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f (patch) | |
tree | 47e1443a2b0591117a6ce5e20a5c3f05f61cca62 /gui/devices/800x480/res | |
parent | Merge "Kang in older minzip for building in CM9 & CM7" into twrp2.7 (diff) | |
download | android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar.gz android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar.bz2 android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar.lz android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar.xz android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.tar.zst android_bootable_recovery-b21cc64ca8f5a9d936d6ece7da120bc0bc65b49f.zip |
Diffstat (limited to 'gui/devices/800x480/res')
-rwxr-xr-x | gui/devices/800x480/res/ui.xml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml index ba262bcce..cbd3b7da0 100755 --- a/gui/devices/800x480/res/ui.xml +++ b/gui/devices/800x480/res/ui.xml @@ -1741,8 +1741,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"> @@ -1784,12 +1784,21 @@ <object type="button"> <highlight color="%highlight_color%" /> - <placement x="%col_center_x%" y="%cancel_button_y%" /> + <placement x="%col2_x%" y="%cancel_button_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="%col3_x%" y="%cancel_button_y%" /> <font resource="font" color="%button_text_color%" /> <text>Cancel / Clear</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> @@ -1799,7 +1808,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> @@ -1807,7 +1816,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> |