# Overriding a base class variable
# Should the forwarding number be handled by the alias or by an option?
_mandatory_parameters = {
- 'username' : 's',
+ 'account' : 's',
'password' : 's',
'forward' : 's',
}
def __init__(self, manager, parameters):
self.check_parameters(parameters)
try:
- account = unicode(parameters['username'])
+ account = unicode(parameters['account'])
# Connection init must come first
telepathy.server.Connection.__init__(
self._manager = weakref.proxy(manager)
self._credentials = (
- parameters['username'].encode('utf-8'),
+ parameters['account'].encode('utf-8'),
parameters['password'].encode('utf-8'),
)
self._callbackNumber = parameters['forward'].encode('utf-8')
__pretty_app_name__ = "Telepathy-TheOneRing"
__app_name__ = "telepathy-theonering"
__version__ = "0.1.0"
-__build__ = 6
+__build__ = 7
__app_magic__ = 0xdeadbeef
_data_path_ = os.path.join(os.path.expanduser("~"), ".telepathy-theonering")
_user_settings_ = "%s/settings.ini" % _data_path_
"fremantle": "user/network",
"mer": "user/network",
}[distribution]
+ p.depends += {
+ "debian": "",
+ "chinook": "",
+ "diablo": "account-plugin-haze",
+ "fremantle": "account-plugin-haze",
+ "mer": "",
+ }[distribution]
p.arch = "all"
p.urgency = "low"
p.distribution = "diablo fremantle mer debian"
ObjectPath = /org/freedesktop/Telepathy/ConnectionManager/theonering
[Protocol sip]
-param-username = s required
+param-account = s required
param-password = s required secret
param-forward = s required