summaryrefslogtreecommitdiff
path: root/src/core/wee-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-07-27 22:31:36 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-07-27 22:31:36 +0200
commitca1e0dde07501093ac90244a06715b5c3bfb79ee (patch)
tree5ddd3002d8ba2aeb9dd8dad8186ef343ca11f619 /src/core/wee-config.c
parentf385aa8f8c36782c62aa71c9c6cc2884ef4f48f4 (diff)
downloadweechat-ca1e0dde07501093ac90244a06715b5c3bfb79ee.zip
core: use default value for prefixes used in messages displayed before the interface is initialized
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index ad547481b..b7f794713 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -2272,31 +2272,36 @@ config_weechat_init_options ()
"prefix_error", "string",
N_("prefix for error messages, colors are allowed with format "
"\"${color}\""),
- NULL, 0, 0, "=!=", NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
+ NULL, 0, 0, GUI_CHAT_PREFIX_ERROR_DEFAULT,
+ NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
config_look_prefix[GUI_CHAT_PREFIX_NETWORK] = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_network", "string",
N_("prefix for network messages, colors are allowed with format "
"\"${color}\""),
- NULL, 0, 0, "--", NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
+ NULL, 0, 0, GUI_CHAT_PREFIX_NETWORK_DEFAULT,
+ NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
config_look_prefix[GUI_CHAT_PREFIX_ACTION] = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_action", "string",
N_("prefix for action messages, colors are allowed with format "
"\"${color}\""),
- NULL, 0, 0, " *", NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
+ NULL, 0, 0, GUI_CHAT_PREFIX_ACTION_DEFAULT,
+ NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
config_look_prefix[GUI_CHAT_PREFIX_JOIN] = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_join", "string",
N_("prefix for join messages, colors are allowed with format "
"\"${color}\""),
- NULL, 0, 0, "-->", NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
+ NULL, 0, 0, GUI_CHAT_PREFIX_JOIN_DEFAULT,
+ NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
config_look_prefix[GUI_CHAT_PREFIX_QUIT] = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_quit", "string",
N_("prefix for quit messages, colors are allowed with format "
"\"${color}\""),
- NULL, 0, 0, "<--", NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
+ NULL, 0, 0, GUI_CHAT_PREFIX_QUIT_DEFAULT,
+ NULL, 0, NULL, NULL, &config_change_prefix, NULL, NULL, NULL);
config_look_prefix_align = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_align", "integer",