unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem adding buttons to tool-bar in matlab-shell-mode
@ 2011-02-05 10:38 Nordlöw
  2011-02-05 10:39 ` Nordlöw
  0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2011-02-05 10:38 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

I'm trying to add to new functions to the tool-bar in matlab-shell-mode. This is what I'm come up with so far.

	(gud-def gud-finish "dbquit"              "\C-f" "Finish (Quit) executing current function.")
	(gud-def gud-run    "dbrun at %l in %f"   "\C-R" "Restart program.")
        (tool-bar-local-item-from-menu 'gud-run "exit" matlab-shell-mode-map gud-minor-mode-map)
        (tool-bar-local-item-from-menu 'gud-finish "cancel" matlab-shell-mode-map gud-minor-mode-map)

which are added to the function matlab-shell-mode

It runs without errors but no buttons are added.

Thanks in advance,
Per Nordlöw


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

* Re: Problem adding buttons to tool-bar in matlab-shell-mode
  2011-02-05 10:38 Problem adding buttons to tool-bar in matlab-shell-mode Nordlöw
@ 2011-02-05 10:39 ` Nordlöw
  0 siblings, 0 replies; 2+ messages in thread
From: Nordlöw @ 2011-02-05 10:39 UTC (permalink / raw)
  To: help-gnu-emacs

Could you please tell what I'm missing?

/Per


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

end of thread, other threads:[~2011-02-05 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 10:38 Problem adding buttons to tool-bar in matlab-shell-mode Nordlöw
2011-02-05 10:39 ` Nordlöw

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).