diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-23 10:23:26 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-23 10:23:26 +0100 |
commit | 03d01f423436cee0de51f75f4011e265b6639e62 (patch) | |
tree | 62cb4fab3f9f8269cae9bf69240160795577d209 /src | |
parent | 2bad57ae28c1c3a0fad6eb091dd0ebdfa02a57b8 (diff) | |
download | weechat-03d01f423436cee0de51f75f4011e265b6639e62.zip |
Remove WeeChat slogan
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-config.c | 6 | ||||
-rw-r--r-- | src/core/wee-config.h | 1 | ||||
-rw-r--r-- | src/core/weechat.c | 10 |
3 files changed, 0 insertions, 17 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index ce22c7cfa..d88e7402f 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -66,7 +66,6 @@ struct t_config_option *config_startup_command_after_plugins; struct t_config_option *config_startup_command_before_plugins; struct t_config_option *config_startup_display_logo; struct t_config_option *config_startup_display_version; -struct t_config_option *config_startup_weechat_slogan; /* config, look & feel section */ @@ -1192,11 +1191,6 @@ config_weechat_init_options () "display_version", "boolean", N_("display WeeChat version at startup"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); - config_startup_weechat_slogan = config_file_new_option ( - weechat_config_file, ptr_section, - "weechat_slogan", "string", - N_("WeeChat slogan (if empty, slogan is not used)"), - NULL, 0, 0, _("the geekiest chat client!"), NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); /* look */ ptr_section = config_file_new_section (weechat_config_file, "look", diff --git a/src/core/wee-config.h b/src/core/wee-config.h index d405077ff..70aee5b8d 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -83,7 +83,6 @@ extern struct t_config_option *config_startup_command_after_plugins; extern struct t_config_option *config_startup_command_before_plugins; extern struct t_config_option *config_startup_display_logo; extern struct t_config_option *config_startup_display_version; -extern struct t_config_option *config_startup_weechat_slogan; extern struct t_config_option *config_look_buffer_notify_default; extern struct t_config_option *config_look_buffer_time_format; diff --git a/src/core/weechat.c b/src/core/weechat.c index c1d47f28f..ece6aa65c 100644 --- a/src/core/weechat.c +++ b/src/core/weechat.c @@ -316,21 +316,11 @@ weechat_welcome_message () GUI_COLOR(GUI_COLOR_CHAT_NICK), GUI_COLOR(GUI_COLOR_CHAT_NICK)); } - if (CONFIG_STRING(config_startup_weechat_slogan) - && CONFIG_STRING(config_startup_weechat_slogan)[0]) - { - gui_chat_printf (NULL, _("Welcome to %sWeeChat%s, %s"), - GUI_COLOR(GUI_COLOR_CHAT_BUFFER), - GUI_NO_COLOR, - CONFIG_STRING(config_startup_weechat_slogan)); - } if (CONFIG_BOOLEAN(config_startup_display_version)) { command_version_display (NULL, 0, 0); } if (CONFIG_BOOLEAN(config_startup_display_logo) || - (CONFIG_STRING(config_startup_weechat_slogan) - && CONFIG_STRING(config_startup_weechat_slogan)[0]) || CONFIG_BOOLEAN(config_startup_display_version)) { gui_chat_printf (NULL, |