1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 23:20:36 -08:00

(gdb-put-breakpoint-icon): Correct help-echo.

Display hand pointer and help-echo on disabled icon too.
This commit is contained in:
Nick Roberts 2005-10-25 01:18:56 +00:00
parent 56da68fc40
commit d12d5866fc

View file

@ -2515,7 +2515,7 @@ BUFFER nil or omitted means use the current buffer."
(putstring (if enabled "B" "b"))
(source-window (get-buffer-window (current-buffer) 0)))
(add-text-properties
0 1 '(help-echo "mouse-1: set/clear bkpt, mouse-3: enable/disable bkpt")
0 1 '(help-echo "mouse-1: clear bkpt, mouse-3: enable/disable bkpt")
putstring)
(if enabled
(add-text-properties
@ -2557,10 +2557,10 @@ BUFFER nil or omitted means use the current buffer."
(find-image `((:type xpm :data
,breakpoint-xpm-data
:conversion disabled
:ascent 100)
:ascent 100 :pointer hand)
(:type pbm :data
,breakpoint-disabled-pbm-data
:ascent 100))))))
:ascent 100 :pointer hand))))))
(+ start 1)
putstring
'left-margin))