summaryrefslogtreecommitdiff
path: root/src/plugins/buflist/buflist-completion.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-10-01 12:14:03 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-10-01 12:14:03 +0200
commit879a548beae9b02da65526c1016c903d69c0225c (patch)
tree14a1f02d04f6a0a46b8c6b247609ab17678e2798 /src/plugins/buflist/buflist-completion.c
parente928bce76cca4c4b21bc1e7b78b8ae032e5109b0 (diff)
downloadweechat-879a548beae9b02da65526c1016c903d69c0225c.zip
buflist: rename completions with items
Completions renamed: - "buflist_all_items" -> "buflist_items" - "buflist_used_items" -> "buflist_items_used"
Diffstat (limited to 'src/plugins/buflist/buflist-completion.c')
-rw-r--r--src/plugins/buflist/buflist-completion.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/plugins/buflist/buflist-completion.c b/src/plugins/buflist/buflist-completion.c
index bf18a3b30..73480c4e7 100644
--- a/src/plugins/buflist/buflist-completion.c
+++ b/src/plugins/buflist/buflist-completion.c
@@ -32,10 +32,10 @@
*/
int
-buflist_completion_all_items_cb (const void *pointer, void *data,
- const char *completion_item,
- struct t_gui_buffer *buffer,
- struct t_gui_completion *completion)
+buflist_completion_items_cb (const void *pointer, void *data,
+ const char *completion_item,
+ struct t_gui_buffer *buffer,
+ struct t_gui_completion *completion)
{
int i;
@@ -60,7 +60,7 @@ buflist_completion_all_items_cb (const void *pointer, void *data,
*/
int
-buflist_completion_used_items_cb (const void *pointer, void *data,
+buflist_completion_items_used_cb (const void *pointer, void *data,
const char *completion_item,
struct t_gui_buffer *buffer,
struct t_gui_completion *completion)
@@ -90,11 +90,11 @@ buflist_completion_used_items_cb (const void *pointer, void *data,
void
buflist_completion_init ()
{
- weechat_hook_completion ("buflist_all_items",
- N_("all buflist bar items"),
- &buflist_completion_all_items_cb, NULL, NULL);
- weechat_hook_completion ("buflist_used_items",
- N_("used buflist bar items (according to option "
+ weechat_hook_completion ("buflist_items",
+ N_("buflist bar items"),
+ &buflist_completion_items_cb, NULL, NULL);
+ weechat_hook_completion ("buflist_items_used",
+ N_("buflist bar items used (according to option "
"buflist.look.use_items)"),
- &buflist_completion_used_items_cb, NULL, NULL);
+ &buflist_completion_items_used_cb, NULL, NULL);
}