* Re: no way to remove festive icons from within menus
[not found] <mailman.2444.1100325251.8225.bug-gnu-emacs@gnu.org>
@ 2004-11-17 17:47 ` Kevin Rodgers
[not found] ` <mailman.3350.1100714210.8225.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-11-17 17:47 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.3350.1100714210.8225.bug-gnu-emacs@gnu.org>]
* Re: no way to remove festive icons from within menus
[not found] ` <mailman.3350.1100714210.8225.bug-gnu-emacs@gnu.org>
@ 2004-11-18 16:40 ` Kevin Rodgers
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-11-18 16:40 UTC (permalink / raw)
Kevin Rodgers wrote:
> Dan Jacobson wrote:
> > 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")
It might be nice if Emacs provided a tool bar analogue to
menu-bar-final-items:
(setq tool-bar-final-items
(append tool-bar-final-items '(toggle-tool-bar-mode)))
Also, why aren't the menus in menu-bar-final-items right justified?
> > 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)))
And for symmetry:
;; put this before (tool-bar-add-item ...) above:
(tool-bar-add-item "exit" 'menu-bar-mode 'toggle-menu-bar-mode
:help "Toggle the Menu Bar")
;; put this after (define-key menu-bar-options-menu ...) above:
(define-key menu-bar-options-menu [toggle-menu-bar-mode]
(menu-bar-make-toggle toggle-menu-bar-mode menu-bar-mode
"Display Menu Bar (Menu Bar mode)"
"Menu Bar mode %s"
"Display the menu bar labels"
(menu-bar-mode nil)))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 3+ messages in thread
* no way to remove festive icons from within menus
@ 2004-11-13 0:35 Dan Jacobson
0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2004-11-13 0:35 UTC (permalink / raw)
$ 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.
So there should be a way to do (tool-bar-mode 0) right in the toolbar
itself. And a way to bring it back via the menus. Or just have it
fold up and sit on the edge...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-18 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2444.1100325251.8225.bug-gnu-emacs@gnu.org>
2004-11-17 17:47 ` no way to remove festive icons from within menus Kevin Rodgers
[not found] ` <mailman.3350.1100714210.8225.bug-gnu-emacs@gnu.org>
2004-11-18 16:40 ` Kevin Rodgers
2004-11-13 0:35 Dan Jacobson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).