CVS: anygui/test test_openfiledlg.py,1.4,1.5

Magnus Lie Hetland <[email protected]> Sun, 17 Nov 2002 10:42:10 -0800
Newsgroups gmane.comp.python.anygui.cvs
Message-ID <[email protected]>
Update of /cvsroot/anygui/anygui/test
In directory usw-pr-cvs1:/tmp/cvs-serv11968/test

Modified Files:
	test_openfiledlg.py 
Log Message:
Started to fiddle with a Borg Application, and tried to fix line endings.


Index: test_openfiledlg.py
===================================================================
RCS file: /cvsroot/anygui/anygui/test/test_openfiledlg.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** test_openfiledlg.py	16 Nov 2002 16:44:59 -0000	1.4
--- test_openfiledlg.py	17 Nov 2002 18:42:07 -0000	1.5
***************
*** 1,17 ****
! from anygui import *
! import sys
! 
! dir=''
! if sys.platform in ['cygwin', 'linux1', 'linux2']:
!     dir='/usr/lib'
! else:
!     dir='C:\\'
! 
! def openFileDlgCallback(event):
!     print '>> file chosen -> ', event.file
! 
! app = Application(name='Test OpenFileDlg', version='1.0')
! filedlg = OpenFileDialog(dir,'*')
! link(filedlg, 'open', openFileDlgCallback)
! app.add(filedlg)
! app.run()
--- 1,17 ----
! from anygui import *
! import sys
! 
! dir=''
! if sys.platform in ['cygwin', 'linux1', 'linux2']:
!     dir='/usr/lib'
! else:
!     dir='C:\\'
! 
! def openFileDlgCallback(event):
!     print '>> file chosen -> ', event.file
! 
! app = Application(name='Test OpenFileDlg', version='1.0')
! filedlg = OpenFileDialog(dir,'*')
! link(filedlg, 'open', openFileDlgCallback)
! app.add(filedlg)
! app.run()



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html