diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-07-10 17:53:22 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-07-10 17:53:22 +0200 |
commit | f93837d5c891385f54b83ab62bd05f1b001812a3 (patch) | |
tree | d3ae0f5e9ee302a9f378befadaf88e59acf22f07 /src/plugins/scripts/python/weechat-python-api.c | |
parent | abe0e1306813d13e40d65655f66230549b8b286a (diff) | |
download | weechat-f93837d5c891385f54b83ab62bd05f1b001812a3.zip |
Split "filling" bar value into "filling_top_bottom" and "filling_left_right" to have a filling specific to top/bottom bars (vs left/right bars)
Diffstat (limited to 'src/plugins/scripts/python/weechat-python-api.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python-api.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/plugins/scripts/python/weechat-python-api.c b/src/plugins/scripts/python/weechat-python-api.c index acff1681e..755e16300 100644 --- a/src/plugins/scripts/python/weechat-python-api.c +++ b/src/plugins/scripts/python/weechat-python-api.c @@ -3565,9 +3565,9 @@ weechat_python_api_bar_search (PyObject *self, PyObject *args) static PyObject * weechat_python_api_bar_new (PyObject *self, PyObject *args) { - char *name, *hidden, *priority, *type, *conditions, *position, *filling; - char *size, *size_max, *color_fg, *color_delim, *color_bg, *separator; - char *items, *result; + char *name, *hidden, *priority, *type, *conditions, *position; + char *filling_top_bottom, *filling_left_right, *size, *size_max; + char *color_fg, *color_delim, *color_bg, *separator, *items, *result; PyObject *object; /* make C compiler happy */ @@ -3585,7 +3585,8 @@ weechat_python_api_bar_new (PyObject *self, PyObject *args) type = NULL; conditions = NULL; position = NULL; - filling = NULL; + filling_top_bottom = NULL; + filling_left_right = NULL; size = NULL; size_max = NULL; color_fg = NULL; @@ -3594,10 +3595,10 @@ weechat_python_api_bar_new (PyObject *self, PyObject *args) separator = NULL; items = NULL; - if (!PyArg_ParseTuple (args, "ssssssssssssss", &name, &hidden, &priority, - &conditions, &type, &position, &filling, &size, - &size_max, &color_fg, &color_delim, &color_bg, - &separator, &items)) + if (!PyArg_ParseTuple (args, "sssssssssssssss", &name, &hidden, &priority, + &conditions, &type, &position, &filling_top_bottom, + &filling_left_right, &size, &size_max, &color_fg, + &color_delim, &color_bg, &separator, &items)) { WEECHAT_SCRIPT_MSG_WRONG_ARGUMENTS("bar_new"); PYTHON_RETURN_EMPTY; @@ -3609,7 +3610,8 @@ weechat_python_api_bar_new (PyObject *self, PyObject *args) type, conditions, position, - filling, + filling_top_bottom, + filling_left_right, size, size_max, color_fg, |