]> git.eshelyaron.com Git - emacs.git/commitdiff
(breakpoint-disabled): Tweak face (again)
authorNick Roberts <nickrob@snap.net.nz>
Thu, 5 Apr 2007 07:14:51 +0000 (07:14 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Thu, 5 Apr 2007 07:14:51 +0000 (07:14 +0000)
for low-color displays.

lisp/progmodes/gdb-ui.el

index b598f2de1f794cfa7d7ac57fd5daf83394280161..4dbc9893f61ea2763e13444ef180f42256c25066 100644 (file)
@@ -1771,10 +1771,15 @@ static char *magick[] = {
   :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)