diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-28 14:27:31 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-04-28 14:27:31 +0200 |
commit | 43a53a87aa8635a6da38f0f5600d81d82f0de1f7 (patch) | |
tree | 6a8e5b8bf8ec3d5ef02f7266097490acc2149d59 /src/plugins/irc/irc-config.c | |
parent | 7baf4b8b22222141a5fb480f93a379a33def2ea9 (diff) | |
download | weechat-43a53a87aa8635a6da38f0f5600d81d82f0de1f7.zip |
irc: add new options irc.color.topic_old and irc.color.topic_new
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r-- | src/plugins/irc/irc-config.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index d368cf47a..7a8dc0616 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -109,6 +109,8 @@ struct t_config_option *irc_config_color_item_channel_modes; struct t_config_option *irc_config_color_item_lag_counting; struct t_config_option *irc_config_color_item_lag_finished; struct t_config_option *irc_config_color_reason_quit; +struct t_config_option *irc_config_color_topic_old; +struct t_config_option *irc_config_color_topic_new; /* IRC config, network section */ @@ -2299,6 +2301,18 @@ irc_config_init () N_("color for reason in part/quit messages"), NULL, -1, 0, "default", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); + irc_config_color_topic_old = weechat_config_new_option ( + irc_config_file, ptr_section, + "topic_old", "color", + N_("color for old channel topic (when topic is changed)"), + NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL, + NULL, NULL, NULL, NULL); + irc_config_color_topic_new = weechat_config_new_option ( + irc_config_file, ptr_section, + "topic_new", "color", + N_("color for new channel topic (when topic is changed)"), + NULL, -1, 0, "white", NULL, 0, NULL, NULL, + NULL, NULL, NULL, NULL); /* network */ ptr_section = weechat_config_new_section (irc_config_file, "network", |