Plugins: Renamed register_ac->completer_add

This commit is contained in:
James Booth
2016-04-07 20:49:23 +01:00
parent 2ba121aef3
commit a328367eb4
6 changed files with 10 additions and 9 deletions

View File

@@ -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." },