class: FileDialogWithPreview
authorClaus Gittinger <cg@exept.de>
Sat, 07 Dec 2013 11:46:29 +0100
changeset 13716 9f0d7f69c782
parent 13715 dab7e512b771
child 13717 00aa1ccdc596
class: FileDialogWithPreview changed: #fileSelectionChanged (send #isImageType instead of #isImage)
FileDialogWithPreview.st
--- a/FileDialogWithPreview.st	Sat Dec 07 11:44:23 2013 +0100
+++ b/FileDialogWithPreview.st	Sat Dec 07 11:46:29 2013 +0100
@@ -309,7 +309,7 @@
     super fileSelectionChanged.
     ((fn := self filenameHolder value) notNil and:[ fn exists ]) ifTrue:[
         (mime := fn mimeTypeFromName) notNil ifTrue:[
-            mime isImage ifTrue:[
+            mime isImageType ifTrue:[
                 image := Image fromFile:fn.
                 imagePreview image:image.
             ].
@@ -330,10 +330,10 @@
 !FileDialogWithPreview class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.5 2013-06-07 13:23:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.6 2013-12-07 10:46:29 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.5 2013-06-07 13:23:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileDialogWithPreview.st,v 1.6 2013-12-07 10:46:29 cg Exp $'
 ! !