changed: #labelFor:
authorClaus Gittinger <cg@exept.de>
Thu, 05 Nov 2009 18:56:43 +0100
changeset 9184 276b28d85c4c
parent 9183 56796c21d662
child 9185 7f2236aec3d4
changed: #labelFor:
ImageInspectorView.st
--- a/ImageInspectorView.st	Thu Nov 05 18:53:37 2009 +0100
+++ b/ImageInspectorView.st	Thu Nov 05 18:56:43 2009 +0100
@@ -248,10 +248,8 @@
     |l|
 
     l := super labelFor:anObject.
-    anObject notNil ifTrue:[
-        anObject fileName notNil ifTrue:[
-            l := l , ' (''' , anObject fileName , ''')'
-        ].
+    (anObject notNil and:[anObject fileName notNil]) ifTrue:[
+        l := l , ' (''' , anObject fileName , ''')'
     ].
     ^ l
 ! !
@@ -259,9 +257,9 @@
 !ImageInspectorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/ImageInspectorView.st,v 1.24 2009-10-01 10:29:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/ImageInspectorView.st,v 1.25 2009-11-05 17:56:43 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/ImageInspectorView.st,v 1.24 2009-10-01 10:29:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/ImageInspectorView.st,v 1.25 2009-11-05 17:56:43 cg Exp $'
 ! !