[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:43 PDT 2004


Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/ContainerBlocks.py 1.112 1.113

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/ContainerBlocks.py.diff?r1=text&tr1=1.112&r2=text&tr2=1.113

Index: chandler/parcels/osaf/framework/blocks/ContainerBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ContainerBlocks.py:1.112 chandler/parcels/osaf/framework/blocks/ContainerBlocks.py:1.113
--- chandler/parcels/osaf/framework/blocks/ContainerBlocks.py:1.112	Sat Jul  3 00:37:02 2004
+++ chandler/parcels/osaf/framework/blocks/ContainerBlocks.py	Tue Jul  6 14:02:42 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.112 $"
-__date__ = "$Date: 2004/07/03 07:37:02 $"
+__version__ = "$Revision: 1.113 $"
+__date__ = "$Date: 2004/07/06 21:02:42 $"
 __copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -244,7 +244,7 @@
         super (wxTabbedContainer, self).__init__ (*arguments, **keywords)
         self.selectedTab = 0
         
-        self.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.OnSelectionChanged,
+        self.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.OnWXSelectionChanged,
                   id=self.GetId())
 
     def CalculateWXStyle(self, block):
@@ -261,7 +261,7 @@
         return style
     CalculateWXStyle = classmethod(CalculateWXStyle)
 
-    def OnSelectionChanged (self, event):
+    def OnWXSelectionChanged (self, event):
         if not Globals.wxApplication.ignoreSynchronizeWidget:
             self.selectedTab = event.GetSelection()
             page = self.GetPage(self.selectedTab)



More information about the Commits mailing list