diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-17 13:11:37 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-17 13:11:37 +0200 |
commit | 4f6639c98cb9fd67d4fbfff34d32c91c7031802f (patch) | |
tree | ce63c92ff6eb34b604092a826a560a905f6af7b2 | |
parent | 4df0edbe342fbc18f3baffddacb71fd19c3e056e (diff) | |
download | weechat-4f6639c98cb9fd67d4fbfff34d32c91c7031802f.zip |
core: fix refresh of item buffer_plugin when short name of buffer changes (for example when irc server is renamed)
-rw-r--r-- | src/gui/gui-bar-item.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 06ce24f76..3364aed00 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -1658,6 +1658,8 @@ gui_bar_item_init () &gui_bar_item_default_buffer_plugin, NULL); gui_bar_item_hook_signal ("buffer_switch", gui_bar_item_names[GUI_BAR_ITEM_BUFFER_PLUGIN]); + gui_bar_item_hook_signal ("buffer_renamed", + gui_bar_item_names[GUI_BAR_ITEM_BUFFER_PLUGIN]); /* buffer number */ gui_bar_item_new (NULL, |