]> git.eshelyaron.com Git - emacs.git/commitdiff
Use the "modern" toolbars in Gnus again
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 11 May 2020 01:34:55 +0000 (04:34 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 11 May 2020 01:34:55 +0000 (04:34 +0300)
* 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

index 2df098bc0bfba3e14bf364b188cdcfb9421b0daf..6d24b409ed040c2859409a2913cb711d675f40ad 100644 (file)
@@ -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."