Mercurial > libervia-backend
diff sat_bridge/DBus.py @ 37:a61beb21d16d
Gateway registration, unregistration & edition
- default values added in form
- DBus bridge: fixed array of struct management when adding dynamically a method
- fixed doc for some methods
- ugly fix for presence status
- added dependency for XEP-0077 in XEP-0100 plugin
- Wix: added unregister button in gateways manager
- Wix: added privacy warning in gateways manager
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 15 Dec 2009 01:27:32 +1100 |
parents | 6491b7956c80 |
children | 9c79eb49d51f |
line wrap: on
line diff
--- a/sat_bridge/DBus.py Mon Dec 14 02:11:05 2009 +1100 +++ b/sat_bridge/DBus.py Tue Dec 15 01:27:32 2009 +1100 @@ -186,11 +186,6 @@ debug("Answer for confirmation [%s]: %s", id, "Accepted" if accepted else "Refused") return self.cb["confirmationAnswer"](id, accepted, data) - @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX, - in_signature='sa(ss)', out_signature='s') - def submitForm(self, target, fields): - info ("Form submited") - return self.cb["submitForm"](target, fields) @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX, in_signature='s', out_signature='a{ss}') @@ -214,7 +209,7 @@ i+=1 if i>=len(in_sign): raise Exception #FIXME: create an exception here (the '}' is not presend) - if in_sign[i] == '}': + if in_sign[i] == '}' or in_sign[i] == ')': break i+=1 return attr_string