summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-09-30 09:55:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-09-30 09:55:19 +0200
commit79fd2aa3173962575e1e30a4a267647910e29978 (patch)
treeb944de6d27d4fef9153a47c76766bfbb208598c6
parent9bbd093ffe1ebdbcef90ef3c43a35ce1504a1273 (diff)
downloadweechat-79fd2aa3173962575e1e30a4a267647910e29978.zip
Remove buffer from hotlist when buffer is cleared (bug #27530)
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/gui-buffer.c2
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 <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);
}