diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-09-30 09:55:19 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-09-30 09:55:19 +0200 |
commit | 79fd2aa3173962575e1e30a4a267647910e29978 (patch) | |
tree | b944de6d27d4fef9153a47c76766bfbb208598c6 | |
parent | 9bbd093ffe1ebdbcef90ef3c43a35ce1504a1273 (diff) | |
download | weechat-79fd2aa3173962575e1e30a4a267647910e29978.zip |
Remove buffer from hotlist when buffer is cleared (bug #27530)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/gui-buffer.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ WeeChat ChangeLog ================= FlashCode <flashcode@flashtux.org> -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); } |