summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/EasyDialogs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-06-12 10:51:18 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-06-12 10:51:18 (GMT)
commit3368cb7763813910886ce58680ebbe58c72a9330 (patch)
tree7bec3fc304b4be5ca3d97ea085be86ca760431df /Mac/Lib/EasyDialogs.py
parentd3b06a871f8bb6bec1b02fd1f5ddb1225c26cb34 (diff)
downloadcpython-3368cb7763813910886ce58680ebbe58c72a9330.zip
cpython-3368cb7763813910886ce58680ebbe58c72a9330.tar.gz
cpython-3368cb7763813910886ce58680ebbe58c72a9330.tar.bz2
Replaced MacOS.EnableAppSwitch with MacOS.SchedParams
Diffstat (limited to 'Mac/Lib/EasyDialogs.py')
-rw-r--r--Mac/Lib/EasyDialogs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Lib/EasyDialogs.py b/Mac/Lib/EasyDialogs.py
index b42674a..742daa4 100644
--- a/Mac/Lib/EasyDialogs.py
+++ b/Mac/Lib/EasyDialogs.py
@@ -213,7 +213,7 @@ def test():
"So far, so good!", "Keep on truckin'" )
bar = ProgressBar("Progress, progress...", 100)
try:
- appsw = MacOS.EnableAppswitch(0)
+ appsw = MacOS.SchedParams(1, 0)
for i in range(100):
bar.set(i)
time.sleep(0.1)
@@ -223,7 +223,7 @@ def test():
time.sleep(0.3) # give'em a chance to see the done.
finally:
del bar
- MacOS.EnableAppswitch(appsw)
+ apply(MacOS.SchedParams, appsw)