logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: CMF/CMFWorkspaces - OrganizationTool.py:1.7: msg#00066

Subject: CVS: CMF/CMFWorkspaces - OrganizationTool.py:1.7
Update of /cvs-repository/CMF/CMFWorkspaces
In directory cvs.zope.org:/tmp/cvs-serv12772

Modified Files:
        OrganizationTool.py 
Log Message:
OK, since _p_changed didn't work, play the temporary variable dance to mutate
the dictionary


=== CMF/CMFWorkspaces/OrganizationTool.py 1.6 => 1.7 ===
--- CMF/CMFWorkspaces/OrganizationTool.py:1.6   Tue Feb 18 15:05:34 2003
+++ CMF/CMFWorkspaces/OrganizationTool.py       Tue Feb 18 15:12:41 2003
@@ -119,8 +119,9 @@
     def setTypeLocation(self, type, location, skin_name=''):
         """Sets a single location and skin name for a type.
         """
-        self._types[type] = (location, skin_name)
-        self._p_changed = 1
+        t = self._types
+        t[type] = (location, skin_name)
+        self._types = t
 
     security.declareProtected(ManagePortal, 'setLocationInfo')
     def setLocationInfo(self, info, RESPONSE=None):





<Prev in Thread] Current Thread [Next in Thread>