1. remove wrap from bind in interface.xml
2. in MountPoint, add refresh ability
This commit is contained in:
@@ -37,7 +37,10 @@
|
||||
<mount-point device='sdb2' directory='' file-system='' format='no'/>
|
||||
<mount-point device='sdb3' directory='/olp' file-system='reiserfs' format='yes'/>
|
||||
<mount-point device='sdb4' directory='/' file-system='ext3' format='yes'/>
|
||||
<mount-point device='md0' directory='' file-system='' format='no'/>
|
||||
<mount-point device='md0' directory='/usr' file-system='' format='no'/>
|
||||
<mount-point device='sda1' directory='' file-system='' format='no'/>
|
||||
<mount-point device='sdb1' directory='' file-system='' format='no'/>
|
||||
<mount-point device='md1' directory='/usr/lib64' file-system='' format='no'/>
|
||||
</mount-points>
|
||||
<network domain='' secondary_dns='' ip='172.115.155.144' hostname='lizhi' mask='' primary_dns='' configuration='static' gateway=''/>
|
||||
<groups>
|
||||
|
||||
@@ -386,7 +386,7 @@ row 2 | _______________ __________________ |
|
||||
<grid_location row='1' column='1' rowspan='2'/>
|
||||
<variable name='raid_devs' type='StringVar'/>
|
||||
<action init='raid_device_init'/>
|
||||
<binding sequence='ListboxSelect' function='raid_device_list_detail' wrap='double'/>
|
||||
<binding sequence='<<ListboxSelect>>' function='raid_device_list_detail'/>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
@@ -463,7 +463,7 @@ row 4 | |
|
||||
<grid_location row='0' column='0' sticky='NSWE'/>
|
||||
<variable name='mount.list' type='StringVar'/>
|
||||
<action init='mount_list_init'/>
|
||||
<binding sequence='ListboxSelect' function='mount_list_modify' wrap='double'/>
|
||||
<binding sequence='<<ListboxSelect>>' function='mount_list_modify'/>
|
||||
</widget>
|
||||
<widget type='Scrollbar' name='mount.scroll.v'>
|
||||
<widget_attribute orient='vertical'/>
|
||||
@@ -608,7 +608,7 @@ row 4 | |
|
||||
| _____________________________________________ |
|
||||
| | _ _ _ | |
|
||||
| | |_| optional 1 |_| optional 2 |_| optional 3| |
|
||||
| |_____________________________________________| |
|
||||
| |_____________________________________________| |
|
||||
|________________________________________________________________________|
|
||||
-->
|
||||
|
||||
|
||||
@@ -196,14 +196,6 @@ on special cases -->
|
||||
<element name='binding'>
|
||||
<attribute name='sequence'/>
|
||||
<attribute name='function'/>
|
||||
<!-- less than and greater than are reservied words in xml, but binding need use
|
||||
one or two of them to wrap sequence name -->
|
||||
<attribute name='wrap'>
|
||||
<choice>
|
||||
<value>single</value>
|
||||
<value>double</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user