Index: ChangeLog
===================================================================
--- ChangeLog	(revision 4684)
+++ ChangeLog	(working copy)
@@ -5,6 +5,13 @@
 $Id$
 $URL$
 
+2010-04-24 Frank Weber <opionline@yahoo.de>
+
+  * YAM_CO.c: Add a workaround for a MUI 3.8 bug to show the colors for the
+    Poppen objects on OS3.x.
+  * YAM_COs.c: Disable all Poppen objects according to the UseTextColorsRead
+    setting. This closes #162.
+
 2010-04-23 Thore Böckelmann <tboeckel@gmx.de>
 
   * misc: spread some static and const keywords.
Index: src/YAM_CO.c
===================================================================
--- src/YAM_CO.c	(revision 4684)
+++ src/YAM_CO.c	(working copy)
@@ -2193,6 +2193,17 @@
     G->CO->VisiblePage = page;
     G->CO->Visited[page] = TRUE;
 
+    #if !defined(__amigaos4__) && !defined(__MORPHOS__) && !defined(__AROS__)
+    // The follow lines are a workaround for OS3.x only because MUI 3.8 is buggy.
+    // It seems that changing the Poppen Object Color on MUI 3.8 is only visible if the
+    // page is currently the ActivePage, So we make the page active before setting the
+    // colors. We do that only on pages with Poppen Objects (currently only cp_Read).
+    // Making the page active a second time after CO_SetConfig() should not have
+    // negative effects.
+    if(page == cp_Read)
+      set(G->CO->GUI.GR_PAGE, MUIA_Group_ActivePage, page);
+    #endif
+
     CO_SetConfig();
 
     set(G->CO->GUI.GR_PAGE, MUIA_Group_ActivePage, page);
Index: src/YAM_COs.c
===================================================================
--- src/YAM_COs.c	(revision 4684)
+++ src/YAM_COs.c	(working copy)
@@ -2286,6 +2286,17 @@
       setcheckmark(gui->CH_WRAPHEAD, CE->WrapHeader);
       setcheckmark(gui->CH_TEXTSTYLES_READ, CE->UseTextStylesRead);
       setcheckmark(gui->CH_TEXTCOLORS_READ, CE->UseTextColorsRead);
+
+      // disable all poppen objects according to the UseTextColorsRead setting
+      DoMethod(G->App, MUIM_MultiSet, MUIA_Disabled, CE->UseTextColorsRead == FALSE, gui->CA_COLSIG,
+                                                                                     gui->CA_COLTEXT,
+                                                                                     gui->CA_COL1QUOT,
+                                                                                     gui->CA_COL2QUOT,
+                                                                                     gui->CA_COL3QUOT,
+                                                                                     gui->CA_COL4QUOT,
+                                                                                     gui->CA_COLURL,
+                                                                                     NULL);
+
       setcheckmark(gui->CH_SHOWALTPARTS, CE->DisplayAllAltPart);
 
       // set the MDN stuff according to other config
