diff src/faces.c @ 5636:07256dcc0c8b

Add missing foreback specifier values to the GUI Element face. They were missing for an unexplicable reason in my initial patch, leading to nil color instances in the whole hierarchy of widget faces. -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2012-01-03 Didier Verna <didier@xemacs.org> * faces.c (complex_vars_of_faces): Add missing foreback specifier values to the GUI Element face.
author Didier Verna <didier@lrde.epita.fr>
date Tue, 03 Jan 2012 11:25:06 +0100
parents 6fa0c5fb6154
children
line wrap: on
line diff
--- a/src/faces.c	Mon Jan 02 13:35:31 2012 +0000
+++ b/src/faces.c	Tue Jan 03 11:25:06 2012 +0100
@@ -2563,20 +2563,25 @@
        #%!@#ed up before the styles are set, which override the
        fallbacks. */
     fg_fb = Facons (list1 (Qgtk), build_ascstring ("black"), fg_fb);
+    fb_fb = Facons (list1 (Qgtk), build_ascstring ("Gray70"), fb_fb);
     bg_fb = Facons (list1 (Qgtk), build_ascstring ("Gray80"), bg_fb);
 #endif
 #ifdef HAVE_X_WINDOWS
     fg_fb = Facons (list1 (Qx), build_ascstring ("black"), fg_fb);
+    fb_fb = Facons (list1 (Qx), build_ascstring ("Gray70"), fb_fb);
     bg_fb = Facons (list1 (Qx), build_ascstring ("Gray80"), bg_fb);
 #endif
 #ifdef HAVE_TTY
     fg_fb = Facons (list1 (Qtty), Fvector (0, 0), fg_fb);
+    fb_fb = Facons (list1 (Qtty), Fvector (0, 0), fb_fb);
     bg_fb = Facons (list1 (Qtty), Fvector (0, 0), bg_fb);
 #endif
 #ifdef HAVE_MS_WINDOWS
     fg_fb = Facons (list1 (Qmsprinter), build_ascstring ("black"), fg_fb);
+    fb_fb = Facons (list1 (Qmsprinter), build_ascstring ("Gray90"), fb_fb);
     bg_fb = Facons (list1 (Qmsprinter), build_ascstring ("white"), bg_fb);
     fg_fb = Facons (list1 (Qmswindows), build_ascstring ("black"), fg_fb);
+    fb_fb = Facons (list1 (Qmswindows), build_ascstring ("Gray65"), fb_fb);
     bg_fb = Facons (list1 (Qmswindows), build_ascstring ("Gray75"), bg_fb);
 #endif
     set_specifier_fallback (Fget (Vgui_element_face, Qforeground, Qnil),