From 79fd2aa3173962575e1e30a4a267647910e29978 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 30 Sep 2009 09:55:19 +0200 Subject: Remove buffer from hotlist when buffer is cleared (bug #27530) --- ChangeLog | 5 +++-- src/gui/gui-buffer.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ede44430..1aa039526 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= FlashCode -v0.3.1-dev, 2009-09-20 +v0.3.1-dev, 2009-09-30 Version 0.3.1 (under dev!) @@ -17,7 +17,8 @@ Version 0.3.1 (under dev!) * irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270) * irc: improve error management on socket error (recv/send) * xfer: add missing charset decoding/encoding for IRC DCC chat (bug #27482) -* gui: update hotlist when a buffer is closed (bug #27470) +* gui: update hotlist when a buffer is closed (bug #27470), remove buffer from + hotlist when buffer is cleared (bug #27530) * 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-buffer.c b/src/gui/gui-buffer.c index a85e7d944..b606b84fb 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -1434,6 +1434,8 @@ gui_buffer_clear (struct t_gui_buffer *buffer) } } + gui_hotlist_remove_buffer (buffer); + gui_buffer_ask_chat_refresh (buffer, 2); } -- cgit v1.2.3