gui: tweak storage selection

minor changes to the storage selection that was intrduced with commit 16373 (improve sdcard partitioning)


Change-Id: I50437111f45d0b7e2b78a655424daa63aea374cc
Signed-off-by: z31s1g <z31s1g@googlemail.com>
This commit is contained in:
z31s1g
2016-01-30 16:50:09 +01:00
committed by Dees Troy
parent 871b07f7b4
commit 782e1c90b4
2 changed files with 15 additions and 13 deletions
+10 -9
View File
@@ -3180,14 +3180,21 @@
<text>{@part_sd_hdr=Partition SD Card}</text>
</text>
<partitionlist style="partitionlist_storage">
<partitionlist>
<placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
<text>{@sel_storage_list=Select Storage}</text>
<data name="tw_storage_path"/>
<listtype name="storage"/>
</partitionlist>
<button style="button_third_width">
<placement x="%dialog_button_x%" y="%row13_y%"/>
<text style="text_m_fail">
<condition var1="partitionlisterror" var2="1"/>
<placement x="%center_x%" y="%row14_y%" placement="5"/>
<text>{@invalid_partsd_sel=You must select a removable device}</text>
</text>
<button style="main_button_half_width">
<placement x="%col2_x_right%" y="%row15a_y%"/>
<text>{@ok_btn=OK}</text>
<actions>
<action function="getpartitiondetails">tw_storage_path</action>
@@ -3195,12 +3202,6 @@
</actions>
</button>
<text style="text_m_fail">
<condition var1="partitionlisterror" var2="1"/>
<placement x="%center_x%" y="%row17_y%" placement="5"/>
<text>{@invalid_partsd_sel=You must select a removable device}</text>
</text>
<action>
<touch key="home"/>
<action function="page">main</action>
+5 -4
View File
@@ -3254,7 +3254,8 @@
<text>{@part_sd_hdr=Partition SD Card}</text>
</text>
<partitionlist style="partitionlist_storage">
<partitionlist>
<placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
<text>{@sel_storage_list=Select Storage}</text>
<data name="tw_storage_path"/>
<listtype name="storage"/>
@@ -3262,12 +3263,12 @@
<text style="text_m_fail">
<condition var1="partitionlisterror" var2="1"/>
<placement x="%center_x%" y="%row17_y%" placement="5"/>
<placement x="%center_x%" y="%row20_y%" placement="5"/>
<text>{@invalid_partsd_sel=You must select a removable device}</text>
</text>
<button style="button_third_width">
<placement x="%dialog_button_x%" y="%row14_y%"/>
<button style="main_button_half_height">
<placement x="%center_x%" y="%row21a_y%"/>
<text>{@ok_btn=OK}</text>
<actions>
<action function="getpartitiondetails">tw_storage_path</action>