*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Sat, 29 Mar 2003 16:50:26 +0100
changeset 4744 36dfe96e5d23
parent 4743 4236ffd981fc
child 4745 8082c278087d
*** empty log message ***
FileApplicationNoteBook.st
--- a/FileApplicationNoteBook.st	Sat Mar 29 16:49:21 2003 +0100
+++ b/FileApplicationNoteBook.st	Sat Mar 29 16:50:26 2003 +0100
@@ -3389,17 +3389,16 @@
 !
 
 setupImageView
-    |img oldCursor|
-
     [
-        oldCursor := imageView cursor .
-        imageView cursor:Cursor wait.
-        img := self image.
-        img notNil ifTrue:[
-            self image:img.
-            imageView image:img
+        |img|
+
+        imageView withCursor:(Cursor wait) do:[
+            img := self image.
+            img notNil ifTrue:[
+                self image:img.
+                imageView image:img
+            ].
         ].
-        imageView cursor:oldCursor.
     ] fork.
 ! !
 
@@ -4929,5 +4928,5 @@
 !FileApplicationNoteBook class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.71 2003-03-21 10:48:15 penk Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.72 2003-03-29 15:50:26 cg Exp $'
 ! !