cleanup
authorClaus Gittinger <cg@exept.de>
Fri, 18 Nov 2011 15:05:47 +0100
changeset 10871 f3a06b214071
parent 10870 b263e62a7ea1
child 10872 3c1c54364708
cleanup
Tools__VariableList.st
--- a/Tools__VariableList.st	Fri Nov 18 15:05:39 2011 +0100
+++ b/Tools__VariableList.st	Fri Nov 18 15:05:47 2011 +0100
@@ -682,13 +682,15 @@
 !
 
 icon
-
-    icon ifNil:[icon := application iconInBrowserForVariable: name in: class].
-    icon ifNil:[icon := #NOICON].        
+    icon isNil ifTrue:[
+        icon := application iconInBrowserForVariable: name in: class.
+        icon isNil ifTrue:[icon := #NOICON].        
+    ].
     ^icon
 
     "Created: / 12-04-2011 / 15:54:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 12-04-2011 / 19:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 18-11-2011 / 15:05:18 / cg"
 !
 
 klass
@@ -729,5 +731,5 @@
 !VariableList class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__VariableList.st,v 1.12 2011-08-08 16:28:30 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__VariableList.st,v 1.13 2011-11-18 14:05:47 cg Exp $'
 ! !