summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-05-03 19:15:57 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-05-03 19:15:57 +0200
commit0a7b708a1f600bdb8d93c95e1ede7f74b429f99d (patch)
tree2c7ad8aa7e9a4519229bcede378c4d6e5bec6689 /src/core
parentf43eb87d9d35b6232b744a619ffa6005173e27f2 (diff)
downloadweechat-0a7b708a1f600bdb8d93c95e1ede7f74b429f99d.zip
core: add options weechat.look.prefix_align_more_after and weechat.look.prefix_buffer_align_more_after
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config.c20
-rw-r--r--src/core/wee-config.h2
2 files changed, 21 insertions, 1 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 9b2ea82bb..8c932c416 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -136,9 +136,11 @@ struct t_config_option *config_look_prefix_align;
struct t_config_option *config_look_prefix_align_max;
struct t_config_option *config_look_prefix_align_min;
struct t_config_option *config_look_prefix_align_more;
+struct t_config_option *config_look_prefix_align_more_after;
struct t_config_option *config_look_prefix_buffer_align;
struct t_config_option *config_look_prefix_buffer_align_max;
struct t_config_option *config_look_prefix_buffer_align_more;
+struct t_config_option *config_look_prefix_buffer_align_more_after;
struct t_config_option *config_look_prefix_same_nick;
struct t_config_option *config_look_prefix_suffix;
struct t_config_option *config_look_read_marker;
@@ -2274,6 +2276,14 @@ config_weechat_init_options ()
"on screen)"),
NULL, 0, 0, "+", NULL, 0,
&config_check_prefix_align_more, NULL, &config_change_buffers, NULL, NULL, NULL);
+ config_look_prefix_align_more_after = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "prefix_align_more_after", "boolean",
+ N_("display the truncature char (by default \"+\") after the text (by "
+ "replacing the space that should be displayed here); if disabled, "
+ "the truncature char replaces last char of text"),
+ NULL, 0, 0, "on", NULL, 0,
+ NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_buffer_align = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_buffer_align", "integer",
@@ -2293,6 +2303,14 @@ config_weechat_init_options ()
"merged with same number) (must be exactly one char on screen)"),
NULL, 0, 0, "+", NULL, 0,
&config_check_prefix_buffer_align_more, NULL, &config_change_buffers, NULL, NULL, NULL);
+ config_look_prefix_buffer_align_more_after = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "prefix_buffer_align_more_after", "boolean",
+ N_("display the truncature char (by default \"+\") after the text (by "
+ "replacing the space that should be displayed here); if disabled, "
+ "the truncature char replaces last char of text"),
+ NULL, 0, 0, "on", NULL, 0,
+ NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_same_nick = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_same_nick", "string",
@@ -2575,7 +2593,7 @@ config_weechat_init_options ()
config_color_chat_nick_suffix = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_suffix", "color",
- N_("color for nick suffix (string displayed after nick in suffix)"),
+ N_("color for nick suffix (string displayed after nick in prefix)"),
NULL, GUI_COLOR_CHAT_NICK_SUFFIX, 0, "green", NULL, 0, NULL, NULL,
&config_change_color, NULL, NULL, NULL);
config_color_chat_nick_self = config_file_new_option (
diff --git a/src/core/wee-config.h b/src/core/wee-config.h
index 966d9b356..df4c01fcb 100644
--- a/src/core/wee-config.h
+++ b/src/core/wee-config.h
@@ -160,9 +160,11 @@ extern struct t_config_option *config_look_prefix_align;
extern struct t_config_option *config_look_prefix_align_max;
extern struct t_config_option *config_look_prefix_align_min;
extern struct t_config_option *config_look_prefix_align_more;
+extern struct t_config_option *config_look_prefix_align_more_after;
extern struct t_config_option *config_look_prefix_buffer_align;
extern struct t_config_option *config_look_prefix_buffer_align_max;
extern struct t_config_option *config_look_prefix_buffer_align_more;
+extern struct t_config_option *config_look_prefix_buffer_align_more_after;
extern struct t_config_option *config_look_prefix_same_nick;
extern struct t_config_option *config_look_prefix_suffix;
extern struct t_config_option *config_look_read_marker;