Fix tool-bar and menu-bar toggles in Show/Hide menu to reflect the state of the curre...
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 26 Mar 2006 14:20:01 +0000 (14:20 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 26 Mar 2006 14:20:01 +0000 (14:20 +0000)
commit6a5af08f8d3bb831a78edf17e9c38813bbfbb6f8
treee4e263c9e6cc2f9310c9d1954eb016b0b7f2c22b
parent095fe28140411c14e1e77d6c076655c06ca191a9
Fix tool-bar and menu-bar toggles in Show/Hide menu to reflect the state of the current frame.

* lisp/tool-bar.el (toggle-tool-bar-mode-from-frame): New function.

* lisp/menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
  (menu-bar-showhide-menu): Use them to change "Menu-bar" and
  "Tool-bar" toggles to reflect the state of the current frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-537
README.multi-tty
lisp/menu-bar.el
lisp/tool-bar.el