1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Fix GTK's Tool Bar menu radio buttons

* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu): Fix typo
that makes the radio buttons pretend that the tool bar is always
shown on the left side of the frame.
This commit is contained in:
Martin Rudalics 2020-05-09 09:38:27 +02:00
parent a1cbd05f38
commit 0bae57033f

View File

@ -1085,10 +1085,10 @@ The selected font will be the default on both the existing and future frames."
:visible (display-graphic-p)
:button
(:radio . (and tool-bar-mode
(frame-parameter
(eq (frame-parameter
(menu-bar-frame-for-menubar)
'tool-bar-position)
'left))))
'left)))))
(bindings--define-key menu [showhide-tool-bar-right]
'(menu-item "On the Right"