images from package directory
authorClaus Gittinger <cg@exept.de>
Wed, 01 Dec 1999 22:12:56 +0100
changeset 2455 c1ccd8fe5e92
parent 2454 114111038a2b
child 2456 8434c67045db
images from package directory
AboutBox.st
--- a/AboutBox.st	Wed Dec 01 21:27:18 1999 +0100
+++ b/AboutBox.st	Wed Dec 01 22:12:56 1999 +0100
@@ -99,7 +99,7 @@
     CachedIcon isNil ifTrue:[
         CachedIcon := Icon stxIcon.
         CachedIcon isNil ifTrue:[
-            CachedIcon := Image fromFile:'bitmaps/SmalltalkX.xbm' resolution:100.
+            CachedIcon := Smalltalk bitmapFromFileNamed:'SmalltalkX.xbm' inPackage:'stx:libtool'
         ]
     ].
     ^ CachedIcon
@@ -170,5 +170,5 @@
 !AboutBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/AboutBox.st,v 1.22 1999-05-25 13:52:41 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/AboutBox.st,v 1.23 1999-12-01 21:12:56 cg Exp $'
 ! !