summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-07-11 22:43:13 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-07-11 22:43:13 +0200
commitbd3a12378eb89d00cc5c9563fe833951bab2cc52 (patch)
treefeecd1fb28ce43707a8131eb20f0e2e0365050a7 /src/plugins/xfer/xfer-config.c
parent2cbdbb45d69de57f2cebc9479a24809fd1fc2781 (diff)
downloadweechat-bd3a12378eb89d00cc5c9563fe833951bab2cc52.zip
xfer: add option xfer.look.pv_tags
Diffstat (limited to 'src/plugins/xfer/xfer-config.c')
-rw-r--r--src/plugins/xfer/xfer-config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 64ccf2806..94612d59a 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -34,6 +34,7 @@ struct t_config_file *xfer_config_file = NULL;
struct t_config_option *xfer_config_look_auto_open_buffer;
struct t_config_option *xfer_config_look_progress_bar_size;
+struct t_config_option *xfer_config_look_pv_tags;
/* xfer config, color section */
@@ -134,6 +135,13 @@ xfer_config_init ()
N_("size of progress bar, in chars (if 0, progress bar is disabled)"),
NULL, 0, XFER_CONFIG_PROGRESS_BAR_MAX_SIZE, "20", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
+ xfer_config_look_pv_tags = weechat_config_new_option (
+ xfer_config_file, ptr_section,
+ "pv_tags", "string",
+ N_("comma separated list of tags used in private messages, for example: "
+ "\"notify_message\", \"notify_private\" or \"notify_highlight\""),
+ NULL, 0, 0, "notify_private", NULL, 0, NULL, NULL,
+ NULL, NULL, NULL, NULL);
ptr_section = weechat_config_new_section (xfer_config_file, "color",
0, 0,