From: Martin Rudalics Date: Sat, 9 May 2020 07:38:27 +0000 (+0200) Subject: Fix GTK's Tool Bar menu radio buttons X-Git-Tag: emacs-27.1-rc1~139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0bae57033f061271d66c76c158e73672c6a87f4d;p=emacs.git 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. --- diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 8f825a19adc..cc12a17c794 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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"