From 19d9fc9e1324b231f567619cd827f4b781c52507 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 17 Sep 2009 17:39:58 +0200 Subject: [PATCH] Update hotlist when a buffer is closed (bug #27470) --- ChangeLog | 3 ++- src/gui/gui-bar-item.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b861c96b3..0dc2a753c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= FlashCode -v0.3.1-dev, 2009-09-16 +v0.3.1-dev, 2009-09-17 Version 0.3.1 (under dev!) @@ -10,6 +10,7 @@ Version 0.3.1 (under dev!) * alias: fix bug with arguments (bug #27440) * irc: add options for CTCP, to block/customize CTCP reply (task #9693) * irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270) +* gui: update hotlist when a buffer is closed (bug #27470) * gui: fix /input history_global_next: reset input content when last command in history is reached * api: fix function weechat_bar_set for python/lua/ruby (patch #6912) diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index aa9890234..57fad5337 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -1421,6 +1421,8 @@ gui_bar_item_init () gui_bar_item_names[GUI_BAR_ITEM_HOTLIST]); gui_bar_item_hook_signal ("buffer_moved", gui_bar_item_names[GUI_BAR_ITEM_HOTLIST]); + gui_bar_item_hook_signal ("buffer_closed", + gui_bar_item_names[GUI_BAR_ITEM_HOTLIST]); /* completion (possible words when a partial completion occurs) */ gui_bar_item_new (NULL,