class: InspectorView
authorStefan Vogel <sv@exept.de>
Tue, 03 Dec 2013 16:13:35 +0100
changeset 13701 025eeb45fcb6
parent 13700 0d74d8575297
child 13702 3907db745a6f
class: InspectorView changed: #commonLabelFor: (send #isImageOrForm instead of #isImage) MIMEType isImage == true, but it does not understand fileName
InspectorView.st
--- a/InspectorView.st	Mon Dec 02 04:28:45 2013 +0000
+++ b/InspectorView.st	Tue Dec 03 16:13:35 2013 +0100
@@ -247,7 +247,8 @@
 
     extra := ''.
     "/ the following should be provided by the inspected object (labelInInspector)
-    anObject isImage ifTrue:[
+    "/ Take care #isImage is also understood in MIMEType!!
+    anObject isImageOrForm ifTrue:[
         anObject fileName notNil ifTrue:[
             extra := ' (', anObject fileName asFilename baseName,')'
         ]
@@ -3688,10 +3689,10 @@
 !InspectorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.322 2013-09-07 09:09:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.323 2013-12-03 15:13:35 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.322 2013-09-07 09:09:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.323 2013-12-03 15:13:35 stefan Exp $'
 ! !