summaryrefslogtreecommitdiff
path: root/src/plugins/buflist/buflist-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-10-01 09:58:19 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-10-01 09:58:19 +0200
commite928bce76cca4c4b21bc1e7b78b8ae032e5109b0 (patch)
treee3cdd90814e226161751fd8b166d4cd8d2eb8688 /src/plugins/buflist/buflist-config.c
parent8bd4994ccd9a7a2296969b57894d765b69115199 (diff)
downloadweechat-e928bce76cca4c4b21bc1e7b78b8ae032e5109b0.zip
buflist: add support of item names in command `/buflist refresh`
Diffstat (limited to 'src/plugins/buflist/buflist-config.c')
-rw-r--r--src/plugins/buflist/buflist-config.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c
index 11d8e46b4..681ac6b99 100644
--- a/src/plugins/buflist/buflist-config.c
+++ b/src/plugins/buflist/buflist-config.c
@@ -159,7 +159,7 @@ buflist_config_signal_buffer_cb (const void *pointer, void *data,
(void) type_data;
(void) signal_data;
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
return WEECHAT_RC_OK;
}
@@ -261,13 +261,13 @@ buflist_config_change_enabled (const void *pointer, void *data,
/* buflist enabled */
buflist_config_hook_signals_refresh ();
weechat_command (NULL, "/mute /bar show buflist");
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
}
else
{
/* buflist disabled */
weechat_command (NULL, "/mute /bar hide buflist");
- buflist_bar_item_update (1);
+ buflist_bar_item_update (-1, 1);
}
}
@@ -334,7 +334,7 @@ buflist_config_change_sort (const void *pointer, void *data,
weechat_hashtable_free (hashtable_pointers);
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
}
/*
@@ -368,7 +368,7 @@ buflist_config_change_nick_prefix (const void *pointer, void *data,
(void) option;
buflist_config_change_signals_refresh (NULL, NULL, NULL);
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
}
/*
@@ -384,7 +384,7 @@ buflist_config_change_use_items (const void *pointer, void *data,
(void) data;
(void) option;
- buflist_bar_item_update (2);
+ buflist_bar_item_update (-1, 2);
}
/*
@@ -400,7 +400,7 @@ buflist_config_change_buflist (const void *pointer, void *data,
(void) data;
(void) option;
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
}
/*
@@ -461,7 +461,7 @@ buflist_config_change_format (const void *pointer, void *data,
buflist_config_format_hotlist_eval = buflist_config_add_eval_for_formats (
weechat_config_string (buflist_config_format_hotlist));
- buflist_bar_item_update (0);
+ buflist_bar_item_update (-1, 0);
}
/*