emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 0bae570 1/2: Fix GTK's Tool Bar menu radio buttons


From: Martin Rudalics
Subject: emacs-27 0bae570 1/2: Fix GTK's Tool Bar menu radio buttons
Date: Sat, 9 May 2020 03:40:49 -0400 (EDT)

branch: emacs-27
commit 0bae57033f061271d66c76c158e73672c6a87f4d
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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.
---
 lisp/menu-bar.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 8f825a1..cc12a17 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]