Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > c4201dcb4458e8d1d4c3554e8d9b1456 > files > 14

chkconfig-1.3.37-1mdv2009.0.src.rpm

--- ntsysv.c-chmou	Thu Dec 30 19:10:45 1999
+++ ntsysv.c	Thu Dec 30 19:11:43 1999
@@ -199,6 +199,33 @@
 	    { 0, 0, 0, 0, 0 } 
     };
 
+    /* Standard Mandrake colors */
+    const struct newtColors colors = {
+	  "cyan", "black", 			/* root fg, bg */
+	  "black", "blue",			/* border fg, bg */
+	  "white", "blue",			/* window fg, bg */
+	  "white", "black",			/* shadow fg, bg */
+	  "white", "blue",			/* title fg, bg */
+	  "yellow", "cyan",			/* button fg, bg */
+	  "white", "cyan",			/* active button fg, bg */
+	  "yellow", "blue",			/* checkbox fg, bg */
+	  "blue", "brown",			/* active checkbox fg, bg */
+	  "yellow", "blue",			/* entry box fg, bg */
+	  "white", "blue",			/* label fg, bg */
+	  "black", "cyan",			/* listbox fg, bg */
+	  "yellow", "cyan",			/* active listbox fg, bg */
+	  "white", "blue",			/* textbox fg, bg */
+	  "cyan", "black",			/* active textbox fg, bg */
+	  "white", "blue",			/* help line */
+	  "yellow", "blue",			/* root text */
+	  "blue",					/* scale full */
+	  "red",					/* scale empty */
+	  "blue", "cyan",				/* disabled entry fg, bg */
+	  "white", "blue",			/* compact button fg, bg */
+	  "yellow", "red",			/* active & sel listbox */
+	  "black", "brown"			/* selected listbox */
+    };
+
     setlocale(LC_ALL, ""); 
     bindtextdomain("chkconfig", "/usr/share/locale"); 
     textdomain("chkconfig"); 
@@ -228,6 +255,7 @@
     }
 
     newtInit();
+    newtSetColors(colors);
     newtCls();
 
     newtPushHelpLine(NULL);