1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

core: remove options trigger.color.trigger and trigger.color.trigger_disabled (issue #1820)

These options are used instead:

- weechat.color.chat_status_disabled
- weechat.color.chat_status_enabled
This commit is contained in:
Sébastien Helleu
2023-05-01 20:16:59 +02:00
parent b8f9b83500
commit 385b1d0133
19 changed files with 31 additions and 265 deletions
+2 -6
View File
@@ -72,9 +72,7 @@ trigger_command_display_trigger_internal (const char *name,
weechat_printf_date_tags (
NULL, 0, "no_trigger",
" %s%s%s: %s%s%s%s%s%s%s",
(enabled) ?
weechat_color (weechat_config_string (trigger_config_color_trigger)) :
weechat_color (weechat_config_string (trigger_config_color_trigger_disabled)),
weechat_color ((enabled) ? "chat_status_enabled" : "chat_status_disabled"),
name,
weechat_color ("reset"),
hook,
@@ -217,9 +215,7 @@ trigger_command_display_trigger_internal (const char *name,
weechat_printf_date_tags (
NULL, 0, "no_trigger",
" %s%s%s: %s%s%s%s%s%s%s%s%s%s%s%s%s",
(enabled) ?
weechat_color (weechat_config_string (trigger_config_color_trigger)) :
weechat_color (weechat_config_string (trigger_config_color_trigger_disabled)),
weechat_color ((enabled) ? "chat_status_enabled": "chat_status_disabled"),
name,
weechat_color ("reset"),
hook,