1. remove wrap from bind in interface.xml
2. in MountPoint, add refresh ability
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user