From f8da04d6fa5a55367c8ed58a79a8ad3a501bc697 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 11 May 2020 04:34:55 +0300 Subject: [PATCH] Use the "modern" toolbars in Gnus again * lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Undo the breakage from commit d88118db37dd (https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg02094.html). --- lisp/gnus/gmm-utils.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el index 2df098bc0bf..6d24b409ed0 100644 --- a/lisp/gnus/gmm-utils.el +++ b/lisp/gnus/gmm-utils.el @@ -168,9 +168,9 @@ ARGS are passed to `message'." (defcustom gmm-tool-bar-style (if (and (boundp 'tool-bar-mode) tool-bar-mode - (memq (display-visual-class) - (list 'static-gray 'gray-scale - 'static-color 'pseudo-color))) + (not (memq (display-visual-class) + (list 'static-gray 'gray-scale + 'static-color 'pseudo-color)))) 'gnome 'retro) "Preferred tool bar style." -- 2.39.2