summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-topic.el
diff options
context:
space:
mode:
authorReiner Steib <Reiner.Steib@gmx.de>2006-03-08 14:27:20 +0000
committerReiner Steib <Reiner.Steib@gmx.de>2006-03-08 14:27:20 +0000
commit85fd80023e674a28cb941637fc1db0ded29d1a60 (patch)
tree2ad558d2a0926bd5077494c868fb692263483149 /lisp/gnus/gnus-topic.el
parent60a7c013cf5452ff389f5141319c67f8e55acb5b (diff)
downloademacs-85fd80023e674a28cb941637fc1db0ded29d1a60.tar.gz
* gnus-util.el (gnus-tool-bar-update): New function.
* gnus-group.el (gnus-group-update-tool-bar): New variable. (gnus-group-insert-group-line): Add gnus-tool-bar-update. * gnus-topic.el (gnus-topic-prepare-topic): Add gnus-tool-bar-update.
Diffstat (limited to 'lisp/gnus/gnus-topic.el')
-rw-r--r--lisp/gnus/gnus-topic.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el
index fc80a26f6b9..45585526bcf 100644
--- a/lisp/gnus/gnus-topic.el
+++ b/lisp/gnus/gnus-topic.el
@@ -585,6 +585,11 @@ articles in the topic and its subtopics."
(not (eq (nth 2 type) 'hidden))
level all-entries unread))
(gnus-topic-update-unreads (car type) unread)
+ (when gnus-group-update-tool-bar
+ (gnus-put-text-property beg end 'point-entered
+ 'gnus-tool-bar-update)
+ (gnus-put-text-property beg end 'point-left
+ 'gnus-tool-bar-update))
(goto-char end)
unread))