diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-26 21:40:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-01-26 21:40:00 (GMT) |
commit | b340acf9fd893140efd65a56134a814a8d9bac73 (patch) | |
tree | c991a32a9d7b34262675c1cd97969c352c43f74e /Mac/Demo/quicktime/MovieInWindow.py | |
parent | d9db3a67138deec981184c173c290025e9760f1d (diff) | |
download | cpython-b340acf9fd893140efd65a56134a814a8d9bac73.zip cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.gz cpython-b340acf9fd893140efd65a56134a814a8d9bac73.tar.bz2 |
Use new file dialogs.
Diffstat (limited to 'Mac/Demo/quicktime/MovieInWindow.py')
-rw-r--r-- | Mac/Demo/quicktime/MovieInWindow.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mac/Demo/quicktime/MovieInWindow.py b/Mac/Demo/quicktime/MovieInWindow.py index 620c16c..0df30a4 100644 --- a/Mac/Demo/quicktime/MovieInWindow.py +++ b/Mac/Demo/quicktime/MovieInWindow.py @@ -11,7 +11,8 @@ from Carbon import Evt from Carbon import Events from Carbon import Win from Carbon import Windows -import macfs +from Carbon import File +import EasyDialogs import sys @@ -21,8 +22,8 @@ def main(): Qt.EnterMovies() # Get the movie file - fss, ok = macfs.StandardGetFile() # Was: QuickTime.MovieFileType - if not ok: + fss = EasyDialogs.AskFileForOpen(wanted=File.FSSpec) # Was: QuickTime.MovieFileType + if not fss: sys.exit(0) # Open the window |