class: DirectoryContentsBrowser
authorClaus Gittinger <cg@exept.de>
Sat, 28 Feb 2015 00:12:24 +0100
changeset 15466 a62dd831dbb8
parent 15465 74d2b7497f7c
child 15467 f9546e28146e
class: DirectoryContentsBrowser changed: #startUpdateTask (send #userBackgroundPriority instead of #systemBackgroundPriority) #updateTaskPriority this is a UI process - run at user BG prio
DirectoryContentsBrowser.st
--- a/DirectoryContentsBrowser.st	Sat Feb 28 00:12:02 2015 +0100
+++ b/DirectoryContentsBrowser.st	Sat Feb 28 00:12:24 2015 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2002 by eXept Software AG
               All Rights Reserved
@@ -131,7 +133,7 @@
 updateTaskPriority
     "priority of the update task"
 
-    ^ 8
+    ^ Processor userSchedulingPriority
 ! !
 
 !DirectoryContentsBrowser class methodsFor:'image specs'!
@@ -2672,7 +2674,7 @@
                         ] 
                       ] newProcess.
         updateTask name:'DirectoryContentsBrowser updateTask'.
-        updateTask priorityRange:(Processor systemBackgroundPriority to:Processor activePriority).
+        updateTask priorityRange:(Processor userBackgroundPriority to:Processor activePriority).
         updateTask restartable:true.
         updateTask resume.
     ].
@@ -3524,10 +3526,10 @@
 !DirectoryContentsBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.269 2015-02-13 20:58:27 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.270 2015-02-27 23:12:24 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.269 2015-02-13 20:58:27 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.270 2015-02-27 23:12:24 cg Exp $'
 ! !