# HG changeset patch # User Claus Gittinger # Date 1367067681 -7200 # Node ID 25b9aadfa01fcbdce55102e924548880a524233c # Parent 536e7ac9c60195f76127bb56ea49894794977e78 class: FileBrowser changed: #doRename:to: exception access diff -r 536e7ac9c601 -r 25b9aadfa01f FileBrowser.st --- a/FileBrowser.st Sat Apr 27 14:59:37 2013 +0200 +++ b/FileBrowser.st Sat Apr 27 15:01:21 2013 +0200 @@ -6634,7 +6634,7 @@ old := currentDirectory filenameFor:oldName. new := currentDirectory filenameFor:newName. - OperatingSystem errorSignal handle:[:ex| + OsError handle:[:ex| self showAlert:(resources string:'Cannot rename file ''%1'' to %2 !!' with:oldName with:newName) with:(OperatingSystem lastErrorString) @@ -7505,10 +7505,10 @@ !FileBrowser class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.646 2013-04-25 13:10:26 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.647 2013-04-27 13:01:21 cg Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.646 2013-04-25 13:10:26 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.647 2013-04-27 13:01:21 cg Exp $' ! !