bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: no way to remove festive icons from within menus


From: Kevin Rodgers
Subject: Re: no way to remove festive icons from within menus
Date: Wed, 17 Nov 2004 10:47:10 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Dan Jacobson wrote:
> $ emacs -q #21.3.1
> gives a line of icons atop the screen.
> The funny thing is, searching thru them and the menus at the very top
> of the screen, one finds no way to turn off the icons.
> Therefore a way to turn them off should be amongst the menu items.

See below.

> So there should be a way to do (tool-bar-mode 0) right in the toolbar
> itself.

(tool-bar-add-item "exit" 'tool-bar-mode 'toggle-tool-bar-mode
                   :help "Toggle the Tool Bar")

> And a way to bring it back via the menus.

(define-key menu-bar-options-menu [toggle-tool-bar-mode]
  (menu-bar-make-toggle toggle-tool-bar-mode tool-bar-mode
                        "Display Tool Bar (Tool Bar mode)"
                        "Tool Bar mode %s"
                        "Display the tool bar icons"
                        (tool-bar-mode)))

> Or just have it fold up and sit on the edge...

???

--
Kevin Rodgers




reply via email to

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