FileBrowser.st
changeset 2438 63738977d5f8
parent 2434 5cf8d286f680
child 2442 481ba54b5ed1
--- a/FileBrowser.st	Thu Oct 28 17:52:32 1999 +0200
+++ b/FileBrowser.st	Fri Oct 29 16:48:23 1999 +0200
@@ -1212,7 +1212,8 @@
         ] ifFalse:[
             f := self singleSelectedFileOrCurrentDirectory.
             f notNil
-            and:[(Java sourcePath includes:f pathName) not
+            and:[(Java sourcePath isNil
+                 or:[(Java sourcePath includes:f pathName) not])
             and:[f isDirectory
                  or:[(f hasSuffix:'jar')
                  or:[(f hasSuffix:'zip')]]]].
@@ -1265,7 +1266,8 @@
         ] ifFalse:[
             f := self singleSelectedFileOrCurrentDirectory.
             f notNil
-            and:[(Java sourcePath includes:f pathName)
+            and:[(Java sourcePath isNil
+                 or:[(Java sourcePath includes:f pathName)])
             and:[f isDirectory
                  or:[(f hasSuffix:'jar')
                  or:[(f hasSuffix:'zip')]]]]
@@ -6932,5 +6934,5 @@
 !FileBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.348 1999-10-26 13:58:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileBrowser.st,v 1.349 1999-10-29 14:48:23 cg Exp $'
 ! !