aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2020-05-09 09:38:27 +0200
committerMartin Rudalics2020-05-09 09:38:27 +0200
commit0bae57033f061271d66c76c158e73672c6a87f4d (patch)
treec73c56281524d92ebf8b5f96fd03e3087c7a98f5
parenta1cbd05f3892fc86815f69bc50d8ab9175b7b082 (diff)
downloademacs-0bae57033f061271d66c76c158e73672c6a87f4d.tar.gz
emacs-0bae57033f061271d66c76c158e73672c6a87f4d.zip
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.
-rw-r--r--lisp/menu-bar.el4
1 files changed, 2 insertions, 2 deletions
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."
1085 :visible (display-graphic-p) 1085 :visible (display-graphic-p)
1086 :button 1086 :button
1087 (:radio . (and tool-bar-mode 1087 (:radio . (and tool-bar-mode
1088 (frame-parameter 1088 (eq (frame-parameter
1089 (menu-bar-frame-for-menubar) 1089 (menu-bar-frame-for-menubar)
1090 'tool-bar-position) 1090 'tool-bar-position)
1091 'left)))) 1091 'left)))))
1092 1092
1093 (bindings--define-key menu [showhide-tool-bar-right] 1093 (bindings--define-key menu [showhide-tool-bar-right]
1094 '(menu-item "On the Right" 1094 '(menu-item "On the Right"