From a3f81542fb0e6dab9d68734d27f299be7eb5f9d1 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Mon, 8 Oct 2012 10:58:53 -0400 Subject: Add reboot system button after sideload, backup, and restore A few other minor xml tweaks --- gui/devices/540x960/res/ui.xml | 66 ++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 31 deletions(-) (limited to 'gui/devices/540x960') diff --git a/gui/devices/540x960/res/ui.xml b/gui/devices/540x960/res/ui.xml index af8ea0d4d..195d52671 100644 --- a/gui/devices/540x960/res/ui.xml +++ b/gui/devices/540x960/res/ui.xml @@ -725,13 +725,16 @@ Reboot System - tw_back=flash_done + tw_back=main2 tw_action=reboot tw_action_param=system tw_has_action2=0 tw_text1=No OS Installed! Are you tw_text2=sure you wish to reboot? + tw_text3= + tw_text4= tw_action_text1=Rebooting... + tw_action_text2= tw_complete_text1=Rebooting... tw_slider_text=Swipe to Reboot rebootcheck @@ -797,6 +800,7 @@ tw_cancel_action= tw_cancel_param= tw_show_exclamation=0 + tw_show_reboot=0 %tw_clear_destination% @@ -899,20 +903,7 @@ - - - - - - action_complete - - - - - - - - + action_complete @@ -960,6 +951,7 @@ + Back @@ -970,6 +962,29 @@ + + + + + Reboot System + + + tw_back=main2 + tw_action=reboot + tw_action_param=system + tw_has_action2=0 + tw_text1=No OS Installed! Are you + tw_text2=sure you wish to reboot? + tw_text3= + tw_text4= + tw_action_text1=Rebooting... + tw_action_text2= + tw_complete_text1=Rebooting... + tw_slider_text=Swipe to Reboot + rebootcheck + + + @@ -1539,6 +1554,7 @@ tw_back=backup tw_complete_text1=Backup Complete + tw_show_reboot=1 action_complete @@ -1869,25 +1885,11 @@ - - - - - - tw_back=restore_select - tw_complete_text1=Restore Complete - action_complete - - - - - - - - + tw_back=restore_select tw_complete_text1=Restore Complete + tw_show_reboot=1 action_complete @@ -2550,6 +2552,7 @@ tw_action_text2=This will take a few minutes. tw_complete_text1=Fix Permissions Complete tw_slider_text=Swipe to Confirm + tw_show_reboot=1 confirm_action @@ -2599,6 +2602,7 @@ tw_action_text2=Usage: adb sideload filename.zip tw_complete_text1=ADB Sideload Complete tw_has_cancel=1 + tw_show_reboot=1 tw_cancel_action=adbsideloadcancel action_page -- cgit v1.2.3