[Commits] (stearns) Fix 2395 (unchecking 'all-day' checkbox garbles the display of all-day and duration fields), r=john

commits at osafoundation.org commits at osafoundation.org
Wed Mar 23 12:09:55 PST 2005


Commit by: stearns
Modified files:
chandler/parcels/osaf/framework/blocks/detail/Detail.py 1.108 1.109

Log message:
Fix 2395 (unchecking 'all-day' checkbox garbles the display of all-day and duration fields), r=john

Bugzilla links:
http://bugzilla.osafoundation.org/show_bug.cgi?id=2395

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/detail/Detail.py.diff?r1=text&tr1=1.108&r2=text&tr2=1.109

Index: chandler/parcels/osaf/framework/blocks/detail/Detail.py
diff -u chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.108 chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.109
--- chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.108	Tue Mar 22 15:41:51 2005
+++ chandler/parcels/osaf/framework/blocks/detail/Detail.py	Wed Mar 23 12:09:53 2005
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.108 $"
-__date__ = "$Date: 2005/03/22 23:41:51 $"
+__version__ = "$Revision: 1.109 $"
+__date__ = "$Date: 2005/03/23 20:09:53 $"
 __copyright__ = "Copyright (c) 2004-2005 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -250,17 +250,10 @@
         # Called when an itemCollection gets new sharees,
         #  because the Notify button should then be enabled.
         # Also called after stamping.
-        
-        # @@@BJS: stripped-down for trees of blocks; used to be:
-        ## @@@DLD - devise a block-dependency-event scheme.        
-        #item= self.selectedItem()
-        #self.synchronizeDetailView(item)
-        #
-        # After moving DetailRoot into the event boundary in the
-        # trees of blocks, we need to call synchronizeWidget on
-        # the TrunkParentBlock since stamping may change the tree
-        # of blocks displayed in the detail view event boundary -- DJA
-        self.parentBlock.synchronizeWidget()
+        # 
+        # Just tell our parent block's widget to resync; this'll force
+        # our tree of blocks to be rerendered.
+        self.parentBlock.widget.wxSynchronizeWidget(rerenderHint=True)
 
     def finishSelectionChanges (self):
         """ 



More information about the Commits mailing list