summaryrefslogtreecommitdiff
path: root/src/core/wee-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-02-22 14:29:34 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-02-22 14:29:34 +0100
commitc5a30be877975e32b1c7c12e00b15e0f49e8ac2e (patch)
treef2af940ea991776705d8b4c842f117d608c1c32b /src/core/wee-config.c
parent3187d9627b46193d18ee4e90721d8b059cc95d70 (diff)
downloadweechat-c5a30be877975e32b1c7c12e00b15e0f49e8ac2e.zip
New "irc/debug" buffer (replaces old IRC raw buffer), improved status bar display, fixed nick in input for IRC buffers
The "irc/debug" buffer is displayed when IRC debug is enabled (with "/debug irc" thru debug plugin). If the buffer is closed, it is reopen when new messages are written, until debug is disabled by user (with "/debug irc").
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index eae6994f4..f2270fe02 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -124,7 +124,9 @@ struct t_config_option *config_color_chat_read_marker_bg;
struct t_config_option *config_color_status;
struct t_config_option *config_color_status_bg;
struct t_config_option *config_color_status_delimiters;
-struct t_config_option *config_color_status_channel;
+struct t_config_option *config_color_status_number;
+struct t_config_option *config_color_status_category;
+struct t_config_option *config_color_status_name;
struct t_config_option *config_color_status_data_msg;
struct t_config_option *config_color_status_data_private;
struct t_config_option *config_color_status_data_highlight;
@@ -973,11 +975,21 @@ config_weechat_init ()
"color_status_delimiters", "color",
N_("text color for status bar delimiters"),
NULL, GUI_COLOR_STATUS_DELIMITERS, 0, "cyan", &config_change_color, NULL);
- config_color_status_channel = config_file_new_option (
+ config_color_status_number = config_file_new_option (
weechat_config_file, ptr_section,
- "color_status_channel", "color",
- N_("text color for current channel in status bar"),
- NULL, GUI_COLOR_STATUS_CHANNEL, 0, "white", &config_change_color, NULL);
+ "color_status_number", "color",
+ N_("text color for current buffer number in status bar"),
+ NULL, GUI_COLOR_STATUS_NUMBER, 0, "yellow", &config_change_color, NULL);
+ config_color_status_category = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "color_status_category", "color",
+ N_("text color for current buffer category in status bar"),
+ NULL, GUI_COLOR_STATUS_CATEGORY, 0, "lightgreen", &config_change_color, NULL);
+ config_color_status_name = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "color_status_name", "color",
+ N_("text color for current buffer name in status bar"),
+ NULL, GUI_COLOR_STATUS_NAME, 0, "white", &config_change_color, NULL);
config_color_status_data_msg = config_file_new_option (
weechat_config_file, ptr_section,
"color_status_data_msg", "color",