Changed usage of deprecated #copyWithoutLast: to #copyButLast:
authorStefan Vogel <sv@exept.de>
Thu, 25 Apr 2013 15:12:17 +0200
changeset 4211 c553f879beac
parent 4210 5c5f1603748d
child 4212 4b84444912b5
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
FileSelectionItem.st
--- a/FileSelectionItem.st	Thu Apr 25 15:12:12 2013 +0200
+++ b/FileSelectionItem.st	Thu Apr 25 15:12:17 2013 +0200
@@ -9,9 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
-
-
 "{ Package: 'stx:libwidg2' }"
 
 TreeItem subclass:#FileSelectionItem
@@ -122,7 +119,7 @@
     path := aPathname asString.
 
     (path size > 1 and:[path endsWith:(Filename separator)]) ifTrue:[
-        ^ (path copyWithoutLast:1) asFilename.
+        ^ (path copyButLast:1) asFilename.
     ].
   ^ aPathname asFilename
 
@@ -739,7 +736,8 @@
 !FileSelectionItem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/FileSelectionItem.st,v 1.21 2006-03-06 08:46:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/FileSelectionItem.st,v 1.22 2013-04-25 13:12:17 stefan Exp $'
 ! !
 
+
 FileSelectionItem initialize!