diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-18 20:24:35 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-18 20:24:35 +0200 |
commit | c95f3d84d08b96999d34419816490a5584e425ec (patch) | |
tree | 4154aae57d5c98a58bdf63b87935443341b5d5dc /src/gui/gui-buffer.c | |
parent | 00c1c81c0b276e21d45fb504e8cde8dac05aa1af (diff) | |
download | weechat-c95f3d84d08b96999d34419816490a5584e425ec.zip |
api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index bb62d3d01..2f8352eb4 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -1501,6 +1501,10 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property, (void) gui_hotlist_add (buffer, number, NULL); } } + else if (string_strcasecmp (property, "completion_freeze") == 0) + { + gui_completion_freeze = (strcmp (value, "1") == 0) ? 1 : 0; + } if (!buffer) return; |