Update of /cvsroot/pythoncard/PythonCard
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19603
Modified Files:
menu.py model.py widget.py
Log Message:
added name of command to EventLog report
eventName = 'command ' + self.command
Index: widget.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/widget.py,v
retrieving revision 1.128
retrieving revision 1.129
diff -C2 -d -r1.128 -r1.129
*** widget.py 10 May 2004 00:45:17 -0000 1.128
--- widget.py 10 May 2004 17:24:24 -0000 1.129
***************
*** 353,357 ****
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
# need to report the name for the handler if it exists
! eventName = 'command'
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
--- 353,357 ----
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
# need to report the name for the handler if it exists
! eventName = 'command ' + self.command
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
Index: model.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/model.py,v
retrieving revision 1.171
retrieving revision 1.172
diff -C2 -d -r1.171 -r1.172
*** model.py 10 May 2004 05:01:58 -0000 1.171
--- model.py 10 May 2004 17:24:23 -0000 1.172
***************
*** 726,730 ****
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
! eventName = 'command'
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
--- 726,730 ----
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
! eventName = 'command ' + self.command
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
Index: menu.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/menu.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** menu.py 10 May 2004 00:45:17 -0000 1.37
--- menu.py 10 May 2004 17:24:22 -0000 1.38
***************
*** 164,168 ****
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
# need to report the name for the handler if it exists
! eventName = 'command'
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
--- 164,168 ----
if self.command and isinstance(eventClassInstance, event.CommandTypeEvent):
# need to report the name for the handler if it exists
! eventName = 'command ' + self.command
else:
if isinstance(eventClassInstance, event.InsteadOfTypeEvent):
|