72 |
char *cfg_look_charset_decode_utf; |
char *cfg_look_charset_decode_utf; |
73 |
char *cfg_look_charset_encode; |
char *cfg_look_charset_encode; |
74 |
char *cfg_look_charset_internal; |
char *cfg_look_charset_internal; |
75 |
|
int cfg_look_one_server_buffer; |
76 |
char *cfg_look_buffer_timestamp; |
char *cfg_look_buffer_timestamp; |
77 |
int cfg_look_color_nicks; |
int cfg_look_color_nicks; |
78 |
int cfg_look_color_nicks_number; |
int cfg_look_color_nicks_number; |
134 |
N_("forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)"), |
N_("forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)"), |
135 |
OPTION_TYPE_STRING, 0, 0, 0, |
OPTION_TYPE_STRING, 0, 0, 0, |
136 |
"", NULL, NULL, &cfg_look_charset_internal, config_change_charset }, |
"", NULL, NULL, &cfg_look_charset_internal, config_change_charset }, |
137 |
|
{ "look_one_server_buffer", N_("use same buffer for all servers"), |
138 |
|
N_("use same buffer for all servers"), |
139 |
|
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE, |
140 |
|
NULL, NULL, &cfg_look_one_server_buffer, NULL, config_change_one_server_buffer }, |
141 |
{ "look_buffer_timestamp", N_("timestamp for buffers"), |
{ "look_buffer_timestamp", N_("timestamp for buffers"), |
142 |
N_("timestamp for buffers"), |
N_("timestamp for buffers"), |
143 |
OPTION_TYPE_STRING, 0, 0, 0, |
OPTION_TYPE_STRING, 0, 0, 0, |
246 |
int cfg_col_chat_time_sep; |
int cfg_col_chat_time_sep; |
247 |
int cfg_col_chat_prefix1; |
int cfg_col_chat_prefix1; |
248 |
int cfg_col_chat_prefix2; |
int cfg_col_chat_prefix2; |
249 |
|
int cfg_col_chat_server; |
250 |
int cfg_col_chat_join; |
int cfg_col_chat_join; |
251 |
int cfg_col_chat_part; |
int cfg_col_chat_part; |
252 |
int cfg_col_chat_nick; |
int cfg_col_chat_nick; |
326 |
N_("color for middle char of prefix"), |
N_("color for middle char of prefix"), |
327 |
OPTION_TYPE_COLOR, 0, 0, 0, |
OPTION_TYPE_COLOR, 0, 0, 0, |
328 |
"white", NULL, &cfg_col_chat_prefix2, NULL, &config_change_color }, |
"white", NULL, &cfg_col_chat_prefix2, NULL, &config_change_color }, |
329 |
|
{ "col_chat_server", N_("color for server name"), |
330 |
|
N_("color for server name"), |
331 |
|
OPTION_TYPE_COLOR, 0, 0, 0, |
332 |
|
"brown", NULL, &cfg_col_chat_server, NULL, &config_change_color }, |
333 |
{ "col_chat_join", N_("color for join arrow (prefix)"), |
{ "col_chat_join", N_("color for join arrow (prefix)"), |
334 |
N_("color for join arrow (prefix)"), |
N_("color for join arrow (prefix)"), |
335 |
OPTION_TYPE_COLOR, 0, 0, 0, |
OPTION_TYPE_COLOR, 0, 0, 0, |
1021 |
} |
} |
1022 |
|
|
1023 |
/* |
/* |
1024 |
|
* config_change_one_server_buffer: called when the "one server buffer" |
1025 |
|
* setting is changed |
1026 |
|
*/ |
1027 |
|
|
1028 |
|
void |
1029 |
|
config_change_one_server_buffer () |
1030 |
|
{ |
1031 |
|
if (cfg_look_one_server_buffer) |
1032 |
|
gui_merge_servers (gui_current_window); |
1033 |
|
else |
1034 |
|
gui_split_server (gui_current_window); |
1035 |
|
} |
1036 |
|
|
1037 |
|
/* |
1038 |
* config_change_color: called when a color is changed by /set command |
* config_change_color: called when a color is changed by /set command |
1039 |
*/ |
*/ |
1040 |
|
|