[Zope-CVS] CVS: Products/CMFActionIcons - CHANGES.txt:1.1 ActionIconsTool.py:1.3

Tres Seaver tseaver at zope.com
Tue Apr 20 15:30:32 EDT 2004


Update of /cvs-repository/Products/CMFActionIcons
In directory cvs.zope.org:/tmp/cvs-serv31608

Modified Files:
	ActionIconsTool.py 
Added Files:
	CHANGES.txt 
Log Message:


  - CMF Collector #239:  setting the icon expression to None no longer
    cripples the binding.


=== Added File Products/CMFActionIcons/CHANGES.txt ===
CMFActionIcons Changelog

  Note

    CMFActionIcons is slated to be merged into the CMF head;  this changelog
    is only a temporary fixture, which should be removed at the time of
    that merge.

  CMFActionIcons 0.10 (not yet released)

    - CMF Collector #239:  setting the icon expr to None no longer cripples
      the binding.

  CMFActionIcons 0.9 (2003/10/20)

    - Initial release


=== Products/CMFActionIcons/ActionIconsTool.py 1.2 => 1.3 ===
--- Products/CMFActionIcons/ActionIconsTool.py:1.2	Sat Jul 12 21:55:30 2003
+++ Products/CMFActionIcons/ActionIconsTool.py	Tue Apr 20 15:30:01 2004
@@ -305,7 +305,7 @@
 
         o Raise KeyError if an icon has not already been defined.
         """
-        if self.queryActionIcon( category, action_id ) is None:
+        if self._lookup.get( ( category, action_id ) ) is None:
             raise KeyError, 'No such definition!'
 
         icons = list( self._icons )




More information about the Zope-CVS mailing list