[Commits] (john) - reversed lambda expressions for broadcast and broadcast everywhere

commits at osafoundation.org commits at osafoundation.org
Tue Aug 24 10:22:31 PDT 2004


Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/Views.py 1.40 1.41

Log message:
- reversed lambda expressions for broadcast and broadcast everywhere

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/Views.py.diff?r1=text&tr1=1.40&r2=text&tr2=1.41

Index: chandler/parcels/osaf/framework/blocks/Views.py
diff -u chandler/parcels/osaf/framework/blocks/Views.py:1.40 chandler/parcels/osaf/framework/blocks/Views.py:1.41
--- chandler/parcels/osaf/framework/blocks/Views.py:1.40	Tue Aug 24 08:06:38 2004
+++ chandler/parcels/osaf/framework/blocks/Views.py	Tue Aug 24 10:22:30 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.40 $"
-__date__ = "$Date: 2004/08/24 15:06:38 $"
+__version__ = "$Revision: 1.41 $"
+__date__ = "$Date: 2004/08/24 17:22:30 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -77,15 +77,15 @@
             broadcast (block,
                        methodName,
                        notification,
-                       lambda child: (child is not None and child.isShown))
+                       lambda child: (child is not None and
+                                      child.isShown and 
+                                      not child.eventBoundary))
 
         elif event.dispatchEnum == 'BroadcastEverywhere':
             broadcast (Globals.mainView,
                        methodName,
                        notification,
-                       lambda child: (child is not None and
-                                      child.isShown and 
-                                      not child.eventBoundary))
+                       lambda child: (child is not None and child.isShown))
 
         elif event.dispatchEnum == 'FocusBubbleUp':
             block = self.getFocusBlock()



More information about the Commits mailing list