[Commits] (john) - Unified naming of OnSelectionChanged handlers to
avoid confusion of whether or not they belong to the wiget or
the block
commits at osafoundation.org
commits at osafoundation.org
Tue Jul 6 14:02:16 PDT 2004
Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py 1.21 1.22
Log message:
- Unified naming of OnSelectionChanged handlers to avoid confusion of whether or not they belong to the wiget or the block
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py.diff?r1=text&tr1=1.21&r2=text&tr2=1.22
Index: chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py:1.21 chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py:1.22
--- chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py:1.21 Thu Jul 1 17:16:41 2004
+++ chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py Tue Jul 6 14:02:15 2004
@@ -1,8 +1,8 @@
""" Calendar Blocks
"""
-__version__ = "$Revision: 1.21 $"
-__date__ = "$Date: 2004/07/02 00:16:41 $"
+__version__ = "$Revision: 1.22 $"
+__date__ = "$Date: 2004/07/06 21:02:15 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -367,13 +367,13 @@
def __init__(self, *arguments, **keywords):
super (wxMiniCalendar, self).__init__(*arguments, **keywords)
self.Bind(wx.calendar.EVT_CALENDAR_SEL_CHANGED,
- self.OnSelectionChanged)
+ self.OnWXSelectionChanged)
def wxSynchronizeWidget(self):
self.SetWindowStyle(wx.calendar.CAL_SUNDAY_FIRST |
wx.calendar.CAL_SHOW_SURROUNDING_WEEKS)
- def OnSelectionChanged(self, event):
+ def OnWXSelectionChanged(self, event):
self.blockItem.Post(Globals.repository.findPath('//parcels/osaf/framework/blocks/Events/SelectedDateChanged'),
{'start': self.getSelectedDate(),
'item': self.blockItem })
More information about the Commits
mailing list