[Python-checkins] python/dist/src/Mac/Lib MiniAEFrame.py,1.2,1.3
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 02 Aug 2002 07:04:44 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv3539
Modified Files:
MiniAEFrame.py
Log Message:
Got rid of a couple of OS9-isms.
Index: MiniAEFrame.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/MiniAEFrame.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MiniAEFrame.py 25 Aug 2001 12:06:56 -0000 1.2
--- MiniAEFrame.py 2 Aug 2002 14:04:42 -0000 1.3
***************
*** 83,87 ****
raise KeyboardInterrupt, "Command-period"
if c == 'q':
! MacOS.OutputSeen()
self.quitting = 1
return
--- 83,88 ----
raise KeyboardInterrupt, "Command-period"
if c == 'q':
! if hasattr(MacOS, 'OutputSeen'):
! MacOS.OutputSeen()
self.quitting = 1
return
***************
*** 99,108 ****
Menu.OpenDeskAcc(name)
elif id == self.quitid and item == 1:
! MacOS.OutputSeen()
self.quitting = 1
Menu.HiliteMenu(0)
return
# Anything not handled is passed to Python/SIOUX
! MacOS.HandleEvent(event)
def getabouttext(self):
--- 100,113 ----
Menu.OpenDeskAcc(name)
elif id == self.quitid and item == 1:
! if hasattr(MacOS, 'OutputSeen'):
! MacOS.OutputSeen()
self.quitting = 1
Menu.HiliteMenu(0)
return
# Anything not handled is passed to Python/SIOUX
! if hasattr(MacOS, 'HandleEvent'):
! MacOS.HandleEvent(event)
! else:
! print "Unhandled event:", event
def getabouttext(self):