FindFileApplication.st
branchjv
changeset 16643 9fcec4cdfc7e
parent 16617 69e7de1ef22f
parent 16639 629bf5cdd089
child 16827 5f036e451583
--- a/FindFileApplication.st	Tue May 31 06:46:17 2016 +0200
+++ b/FindFileApplication.st	Wed Jun 01 07:00:05 2016 +0200
@@ -1694,8 +1694,19 @@
     and:[theSingleDirectory notNil]]])
     ifTrue:[
         [
-            |cmd line f|
+            |updateInfo cmd line f|
 
+            updateInfo :=
+                [
+                    self 
+                        changeInformationTo:('%1 found' bindWith:resultList size) 
+                        toTab:false.
+                ].
+
+            self window shown ifTrue:[
+                updateInfo value.
+            ].
+            
             cmd := 'locate '.
             ignCaseInName ifTrue:[
                 "/ cmd := cmd , '--ignore-case '
@@ -1712,6 +1723,7 @@
                 f := line asFilename.
                 (doesFileMatch value:f) ifTrue:[
                     resultList add:line.
+                    updateInfo value.
                 ]
             ].
         ] ensure:[