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:
parent
a1cbd05f38
commit
0bae57033f
1 changed files with 2 additions and 2 deletions
|
@ -1085,10 +1085,10 @@ The selected font will be the default on both the existing and future frames."
|
||||||
:visible (display-graphic-p)
|
:visible (display-graphic-p)
|
||||||
:button
|
:button
|
||||||
(:radio . (and tool-bar-mode
|
(:radio . (and tool-bar-mode
|
||||||
(frame-parameter
|
(eq (frame-parameter
|
||||||
(menu-bar-frame-for-menubar)
|
(menu-bar-frame-for-menubar)
|
||||||
'tool-bar-position)
|
'tool-bar-position)
|
||||||
'left))))
|
'left)))))
|
||||||
|
|
||||||
(bindings--define-key menu [showhide-tool-bar-right]
|
(bindings--define-key menu [showhide-tool-bar-right]
|
||||||
'(menu-item "On the Right"
|
'(menu-item "On the Right"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue