diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-21 23:18:48 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-21 23:18:48 +0000 |
| commit | d9bb1a0b01c65e7c8eecb5024ee58d91f967e2e4 (patch) | |
| tree | 37de5aa10c51ca9cc9b005f64f51a3fd28e70ecd /Lib/plat-mac/PixMapWrapper.py | |
| parent | 8cb1ff5e8b2b0b66629667842b693a756d0b17af (diff) | |
| download | cpython-git-d9bb1a0b01c65e7c8eecb5024ee58d91f967e2e4.tar.gz | |
Getting rid of macfs.
Diffstat (limited to 'Lib/plat-mac/PixMapWrapper.py')
| -rw-r--r-- | Lib/plat-mac/PixMapWrapper.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/plat-mac/PixMapWrapper.py b/Lib/plat-mac/PixMapWrapper.py index bcd3e07323..01973e8f3a 100644 --- a/Lib/plat-mac/PixMapWrapper.py +++ b/Lib/plat-mac/PixMapWrapper.py @@ -204,11 +204,10 @@ class PixMapWrapper: def test(): import MacOS - import macfs + import EasyDialogs import Image - fsspec, ok = macfs.PromptGetFile("Image File:") - if not ok: return - path = fsspec.as_pathname() + path = EasyDialogs.AskFileForOpen("Image File:") + if not path: return pm = PixMapWrapper() pm.fromImage( Image.open(path) ) pm.blit(20,20) |
