diff lisp/progmodes/gdb-ui.el @ 76955:1056094c2006

(breakpoint-disabled): Tweak face (again) for low-color displays.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 05 Apr 2007 07:14:51 +0000
parents 65ce5be5f7ca
children 6ad309ee5f4e dc002877ce12 4ef881a120fe
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Thu Apr 05 07:14:19 2007 +0000
+++ b/lisp/progmodes/gdb-ui.el	Thu Apr 05 07:14:51 2007 +0000
@@ -1771,10 +1771,15 @@
   :group 'gud)
 
 (defface breakpoint-disabled
-  ;; We use different values of grey for different background types,
-  ;; so that on low-color displays it will end up as something visible
-  ;; if it has to be approximated.
-  '((t :foreground  "grey70"))
+  '((((class color) (min-colors 88)) :foreground "grey70")
+    ;; Ensure that on low-color displays that we end up something visible.
+    (((class color) (min-colors 8) (background light))
+     :foreground "black")
+    (((class color) (min-colors 8) (background dark))
+     :foreground "white")
+    (((type tty) (class mono))
+     :inverse-video t)
+    (t :background "gray"))
   "Face for disabled breakpoint icon in fringe."
   :group 'gud)