mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:46:22 +00:00
Plugins: Renamed register_ac->completer_add
This commit is contained in:
@@ -186,7 +186,7 @@ python_api_register_timed(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
python_api_register_ac(PyObject *self, PyObject *args)
|
||||
python_api_completer_add(PyObject *self, PyObject *args)
|
||||
{
|
||||
const char *key = NULL;
|
||||
PyObject *items = NULL;
|
||||
@@ -663,7 +663,7 @@ static PyMethodDef apiMethods[] = {
|
||||
{ "cons_bad_cmd_usage", python_api_cons_bad_cmd_usage, METH_VARARGS, "Show invalid command message in console" },
|
||||
{ "register_command", python_api_register_command, METH_VARARGS, "Register a command." },
|
||||
{ "register_timed", python_api_register_timed, METH_VARARGS, "Register a timed function." },
|
||||
{ "register_ac", python_api_register_ac, METH_VARARGS, "Register an autocompleter." },
|
||||
{ "completer_add", python_api_completer_add, METH_VARARGS, "Add items to an autocompleter." },
|
||||
{ "send_line", python_api_send_line, METH_VARARGS, "Send a line of input." },
|
||||
{ "notify", python_api_notify, METH_VARARGS, "Send desktop notification." },
|
||||
{ "get_current_recipient", python_api_get_current_recipient, METH_VARARGS, "Return the jid of the recipient of the current window." },
|
||||
|
||||
Reference in New Issue
Block a user