#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 14 Jul 2017 11:45:14 +0200
changeset 5553 d8caa65e2d54
parent 5552 2fe0fa28ecf5
child 5554 332d4e2abcd8
#REFACTORING by cg class: HierarchicalItem::Example changed: #children called obsolete methods
HierarchicalItem.st
--- a/HierarchicalItem.st	Thu Jun 22 07:00:02 2017 +0200
+++ b/HierarchicalItem.st	Fri Jul 14 11:45:14 2017 +0200
@@ -201,7 +201,7 @@
 
     lvl < 4 ifTrue:[
         txt := (lvl + 1) printString, ' ['.
-        img := Icon saveIcon.
+        img := ToolbarIconLibrary save22x22Icon.
 
         1 to:5 do:[:i|
             (i == 2 or:[i == 3]) ifTrue:[
@@ -219,7 +219,7 @@
     ] ifFalse:[
         image := ResourceSelectionBrowser iconPrivateClass.
         txt   := LabelAndIcon icon:image string:'Text'.
-        img   := Icon copyIcon.
+        img   := ToolbarIconLibrary copy22x22Icon.
 
         1 to:5 do:[:i|
             lbl := i odd ifTrue:[txt] ifFalse:[img].
@@ -231,6 +231,8 @@
 
     children do:[:aChild| aChild parent:self ].
   ^ children
+
+    "Modified: / 14-07-2017 / 10:21:00 / cg"
 !
 
 icon