From 5947ba03649b1be46d1c150e36a86fe1a70fb893 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 4 May 2009 19:21:59 +0200 Subject: Remove messages displayed when hiding/showing a bar --- src/core/wee-command.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e3fef60b6..90f81ae11 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -380,13 +380,7 @@ command_bar (void *data, struct t_gui_buffer *buffer, return WEECHAT_RC_ERROR; } if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) - { - if (gui_bar_set (ptr_bar, "hidden", "1")) - { - gui_chat_printf (NULL, _("Bar \"%s\" is now hidden"), - ptr_bar->name); - } - } + gui_bar_set (ptr_bar, "hidden", "1"); return WEECHAT_RC_OK; } @@ -413,13 +407,7 @@ command_bar (void *data, struct t_gui_buffer *buffer, return WEECHAT_RC_ERROR; } if (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) - { - if (gui_bar_set (ptr_bar, "hidden", "0")) - { - gui_chat_printf (NULL, _("Bar \"%s\" is now visible"), - ptr_bar->name); - } - } + gui_bar_set (ptr_bar, "hidden", "0"); return WEECHAT_RC_OK; } -- cgit v1.2.3