#REFACTORING by cg cvs_MAIN
authorClaus Gittinger <cg@exept.de>
Fri, 07 Jun 2019 22:45:02 +0200
branchcvs_MAIN
changeset 3901 8c95c36eba23
parent 3900 7acd9bc59ce6
child 3902 15a081b8b442
#REFACTORING by cg class: JavaCodeBundleEditor::LibraryItem changed: #label
tools/JavaCodeBundleEditor.st
--- a/tools/JavaCodeBundleEditor.st	Fri Jun 07 22:44:55 2019 +0200
+++ b/tools/JavaCodeBundleEditor.st	Fri Jun 07 22:45:02 2019 +0200
@@ -635,17 +635,18 @@
         label := library name.          
         warnings isEmpty ifTrue:[ 
             library sources isNil ifTrue:[ 
-                label := label , ((' (', (resources string: 'no sources') , ')') asText colorizeAllWith: Color gray)
+                label := label , ((' (', (resources string: 'no sources') , ')') withColor: Color gray)
             ].
         ] ifFalse:[ 
             label := label , (' (', (warnings size == 1 ifTrue:[resources string: '1 warning'] ifFalse:[resources string: '%1 warnings' with: warnings size]) , ')').
-            label := label colorizeAllWith: Color red.
+            label := label withColor: Color red.
         ].
     ].
     ^ label
 
     "Created: / 25-01-2013 / 21:41:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 19-03-2015 / 16:22:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 07-06-2019 / 22:32:07 / Claus Gittinger"
 !
 
 libraryOrBundle