all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tool-bar separators and :visible etc
@ 2012-02-05  3:13 Glenn Morris
  2012-02-06  1:09 ` Glenn Morris
  2012-02-06 14:29 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Glenn Morris @ 2012-02-05  3:13 UTC (permalink / raw)
  To: emacs-devel


I'm trying to document the NEWS entry: "Tool-bars can display separators."

This works (after hiding and showing the tool-bar):
(define-key-after tool-bar-map [sep1] '("--")) 

so does this:
(define-key-after tool-bar-map [sep1] '(menu-item "--"))

This doesn't:
(define-key-after tool-bar-map [sep1] '(menu-item "--" nil :visible t))

although it does in a menu-bar:
(define-key-after menu-bar-help-menu [sep1] '(menu-item "--" nil :visible t))


So, it seems that tool-bar separator items do not support specifiers
like :visible, :help, etc. Is that correct?



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-06 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05  3:13 Tool-bar separators and :visible etc Glenn Morris
2012-02-06  1:09 ` Glenn Morris
2012-02-06 14:29 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.