diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-16 09:46:23 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-16 09:46:23 +0000 |
commit | f80489f46908ffe4909f40f041a6ac439898547a (patch) | |
tree | 1e968c0c584dd4ba58dbc37d2a7f908f3611a116 /src/common/weeconfig.c | |
parent | 2fd53dcc37e7c571d9e2677597c0f68c4b90b5d9 (diff) | |
download | weechat-f80489f46908ffe4909f40f041a6ac439898547a.zip |
Added option "look_align_size_max", nick alignment to right is now set by default with size 14 (max 20)
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r-- | src/common/weeconfig.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c index 82be792ca..15db9e495 100644 --- a/src/common/weeconfig.c +++ b/src/common/weeconfig.c @@ -94,6 +94,7 @@ char *cfg_look_align_nick_values[] = { "none", "left", "right", NULL }; int cfg_look_align_other; int cfg_look_align_size; +int cfg_look_align_size_max; char *cfg_look_nick_completor; char *cfg_look_nick_completion_ignore; int cfg_look_nick_complete_first; @@ -209,15 +210,20 @@ t_config_option weechat_options_look[] = { "look_align_nick", N_("nick alignment (fixed size for nicks in chat window)"), N_("nick alignment (fixed size for nicks in chat window (none, left, right))"), OPTION_TYPE_INT_WITH_STRING, 0, 0, 0, - "none", cfg_look_align_nick_values, &cfg_look_align_nick, NULL, config_change_noop }, + "right", cfg_look_align_nick_values, &cfg_look_align_nick, NULL, config_change_noop }, { "look_align_other", N_("alignment for other messages (not beginning with a nick)"), N_("alignment for other messages (not beginning with a nick)"), - OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE, + OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE, NULL, NULL, &cfg_look_align_other, NULL, config_change_noop }, { "look_align_size", N_("size for aligning nick and other messages"), N_("size for aligning nick and other messages"), - OPTION_TYPE_INT, 8, 64, 8, + OPTION_TYPE_INT, 8, 64, 14, NULL, NULL, &cfg_look_align_size, NULL, config_change_noop }, + { "look_align_size_max", N_("max size for aligning nick and other messages"), + N_("max size for aligning nick and other messages (should be >= to " + "look_align_size)"), + OPTION_TYPE_INT, 8, 64, 20, + NULL, NULL, &cfg_look_align_size_max, NULL, config_change_noop }, { "look_nick_completor", N_("the string inserted after nick completion"), N_("the string inserted after nick completion"), OPTION_TYPE_STRING, 0, 0, 0, |