]> code.delx.au - gnu-emacs/commitdiff
(gdb-put-breakpoint-icon): Correct help-echo.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 25 Oct 2005 01:18:56 +0000 (01:18 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 25 Oct 2005 01:18:56 +0000 (01:18 +0000)
Display hand pointer and help-echo on disabled icon too.

lisp/progmodes/gdb-ui.el

index 61b537bfc444e338af28b8567ac7e93cf814012f..dae1b3e811b3a156f6af9fdd39e064d2e0a68a88 100644 (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))