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

@@ -74,10 +74,8 @@ class Widget:
elif node.nodeName == "action":
self.action = Action(node)
elif node.nodeName == 'binding':
if node.attributes['wrap'].value == 'single':
seq = '<'+node.attributes["sequence"].value+'>'
elif node.attributes['wrap'].value == 'double':
seq = '<<'+node.attributes["sequence"].value+'>>'
seq = node.attributes["sequence"].value
print seq
self.bindings.append((seq, \
node.attributes["function"].value))