diff options
author | James Booth <boothj5@gmail.com> | 2016-04-07 20:49:23 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-07 20:49:23 +0100 |
commit | a328367eb400012a04b9aac9204c9fab2e2fc583 (patch) | |
tree | 82fb778f5967fadd15d11988d7a77d276b9cdeee /src/plugins/python_api.c | |
parent | 2ba121aef3c0116f85c483cf9856bdf9a2c47860 (diff) | |
download | profani-tty-a328367eb400012a04b9aac9204c9fab2e2fc583.tar.gz |
Plugins: Renamed register_ac->completer_add
Diffstat (limited to 'src/plugins/python_api.c')
-rw-r--r-- | src/plugins/python_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c index e830be29..9cac70ae 100644 --- a/src/plugins/python_api.c +++ b/src/plugins/python_api.c @@ -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." }, |