diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-04 19:21:59 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-04 19:21:59 +0200 |
commit | 5947ba03649b1be46d1c150e36a86fe1a70fb893 (patch) | |
tree | 8e0aead73870c000bd431511d042deb21ad18a97 /src | |
parent | 8d69edfa313722da5d340b668f610606959ba4d4 (diff) | |
download | weechat-5947ba03649b1be46d1c150e36a86fe1a70fb893.zip |
Remove messages displayed when hiding/showing a bar
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-command.c | 16 |
1 files changed, 2 insertions, 14 deletions
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; } |