Fixing functions set_options to use account tuple as param
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1378
596f6dd7-e928-0410-a184-
9e12fd12cf7e
- def set_options(self, id, username, po):
+ def set_options(self, acc, po):
+ #FIXME: account
''' @param id The protocol's id '''
''' @param username The account's username '''
''' @param po Dictionary {'setting type': str|int|bool value, ...} '''
''' @param id The protocol's id '''
''' @param username The account's username '''
''' @param po Dictionary {'setting type': str|int|bool value, ...} '''
- c_account = account.c_purple_accounts_find(username, id)
+ c_account = account.c_purple_accounts_find(acc[0], acc[1])
if c_account == NULL:
# FIXME: Message error or call a error handler
return False
if c_account == NULL:
# FIXME: Message error or call a error handler
return False