Commit ccd91c09 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gud-menu-map): Only display un-intuitive

gud-break and gud-remove icons when the fringe is not available.
parent bd5497c2
......@@ -137,11 +137,15 @@ Used to grey out relevant togolbar icons.")
:enable (and (not gud-running)
(memq gud-minor-mode '(gdbmi gdba gdb perldb))))
([remove] menu-item "Remove Breakpoint" gud-remove
:enable (not gud-running))
:enable (not gud-running)
:visible (not (and (memq gud-minor-mode '(gdbmi gdba))
(window-fringes))))
([tbreak] menu-item "Temporary Breakpoint" gud-tbreak
:enable (memq gud-minor-mode '(gdbmi gdba gdb sdb xdb bashdb)))
([break] menu-item "Set Breakpoint" gud-break
:enable (not gud-running))
:enable (not gud-running)
:visible (not (and (memq gud-minor-mode '(gdbmi gdba))
(window-fringes))))
([up] menu-item "Up Stack" gud-up
:enable (and (not gud-running)
(memq gud-minor-mode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment