# HG changeset patch # User Didier Verna # Date 1325586306 -3600 # Node ID 07256dcc0c8ba58e01b74b30bd094d2f3915af2a # Parent 2fc3f2f355236d8730d4989461ba336ebd443be9 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 * faces.c (complex_vars_of_faces): Add missing foreback specifier values to the GUI Element face. diff -r 2fc3f2f35523 -r 07256dcc0c8b src/ChangeLog --- a/src/ChangeLog Mon Jan 02 13:35:31 2012 +0000 +++ b/src/ChangeLog Tue Jan 03 11:25:06 2012 +0100 @@ -1,3 +1,8 @@ +2012-01-03 Didier Verna + + * faces.c (complex_vars_of_faces): Add missing foreback specifier + values to the GUI Element face. + 2012-01-01 Aidan Kehoe Add #'test-completion, API from GNU. diff -r 2fc3f2f35523 -r 07256dcc0c8b src/faces.c --- 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),