Variable: gnus-group-update-tool-bar
gnus-group-update-tool-bar is a customizable variable defined in
gnus-group.el.gz.
Value
nil
Documentation
Force updating the group buffer tool bar.
This variable was added, or its default value changed, in Emacs 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
;; Moving through the Group buffer (in topic mode) e.g. with C-n doesn't
;; update the state (enabled/disabled) of the icon `gnus-group-describe-group'
;; automatically. After `C-l' the state is correct. See the following report
;; on emacs-devel
;; <http://thread.gmane.org/v9acdmrcse.fsf@marauder.physik.uni-ulm.de>:
;; From: Reiner Steib
;; Subject: tool bar icons not updated according to :active condition
;; Newsgroups: gmane.emacs.devel
;; Date: Mon, 23 Jan 2006 19:59:13 +0100
;; Message-ID: <v9acdmrcse.fsf@marauder.physik.uni-ulm.de>
;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might
;; be confusing, so maybe we shouldn't call it by default.
(defcustom gnus-group-update-tool-bar (and (boundp 'tool-bar-mode)
tool-bar-mode)
"Force updating the group buffer tool bar."
:group 'gnus-group
:version "22.1"
:initialize 'custom-initialize-default
:set (lambda (symbol value)
(set-default symbol value)
(when (gnus-alive-p)
(with-current-buffer gnus-group-buffer
;; FIXME: Is there a better way to redraw the group buffer?
(gnus-group-get-new-news 0))))
:type 'boolean)