X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=plugin.pyx;h=2b4b8b268e53cae4fa794b19774ef8ac2189f1d4;hp=f9b05d608eb6b3e050dc07bcf54d1ad4bff1dc95;hb=335e9be9658422daa83a06714238847f9302358b;hpb=b8581ea44a2ad824d5d4f5f829855e1b67f48fa1 diff --git a/plugin.pyx b/plugin.pyx index f9b05d6..2b4b8b2 100644 --- a/plugin.pyx +++ b/plugin.pyx @@ -132,7 +132,8 @@ cdef class Plugin: return po - 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, ...} ''' @@ -151,7 +152,7 @@ cdef class Plugin: c_account = NULL - 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