From 1fedd443da2f1d4a74b5c120743737003951c563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 31 Mar 2014 10:27:31 +0200 Subject: [PATCH] core: fix refresh of bar item "buffer_zoom" on buffer switch --- ChangeLog.asciidoc | 1 + src/gui/gui-bar-item.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc index 2accc064d..6744765da 100644 --- a/ChangeLog.asciidoc +++ b/ChangeLog.asciidoc @@ -15,6 +15,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] == Version 0.4.4 (under dev) +* core: fix refresh of bar item "buffer_zoom" on buffer switch * core: fix reset of attributes in bars when "resetcolor" is used (closes #41) * core: fix alignment of lines in merged buffers when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 93678543c..6cbb5b204 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -2006,6 +2006,8 @@ gui_bar_item_init () gui_bar_item_names[GUI_BAR_ITEM_BUFFER_ZOOM]); gui_bar_item_hook_signal ("buffer_unzoomed", gui_bar_item_names[GUI_BAR_ITEM_BUFFER_ZOOM]); + gui_bar_item_hook_signal ("buffer_switch", + gui_bar_item_names[GUI_BAR_ITEM_BUFFER_ZOOM]); /* buffer nicklist count */ gui_bar_item_new (NULL,