1. remove wrap from bind in interface.xml

2. in MountPoint, add refresh ability
This commit is contained in:
Li Zhi
2010-08-24 08:34:28 +07:59
parent c2ec243021
commit 07ead0ed3c
6 changed files with 33 additions and 24 deletions

View File

@@ -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>

View File

@@ -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='&lt;&lt;ListboxSelect&gt;&gt;' 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='&lt;&lt;ListboxSelect&gt;&gt;' 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| |
| |_____________________________________________| |
| |_____________________________________________| |
|________________________________________________________________________|
-->

View File

@@ -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>