core: added advanced list to XMLUI (need improvment, very basic so far)

- the advanced list use headers which can be used as columns
    - in the future, should provide the ability to highly customize list disposition, in a way similar to Amarok 2's playlist.
This commit is contained in:
Goffi 2013-09-08 18:05:19 +02:00
commit 0cce82d3ea

View file

@ -20,7 +20,7 @@
from logging import debug, info, error
from twisted.words.protocols.jabber import jid
from twisted.words.protocols.jabber.xmlstream import IQ
from sat.tools.xml_tools import dataForm2xml
from sat.tools.xml_tools import dataForm2XML
from wokkel import data_form
@ -63,7 +63,7 @@ class XEP_0077(object):
return
form = data_form.Form.fromElement(x_elem)
xml_data = dataForm2xml(form)
xml_data = dataForm2XML(form)
self.host.bridge.actionResult("XMLUI", answer['id'], {"target": answer["from"], "type": "registration", "xml": xml_data}, profile)
def reg_err(self, failure, profile):