[CMF-checkins] CVS: CMF/CMFTopic - Topic.py:1.32

Tres Seaver tseaver@zope.com
Tue, 15 Apr 2003 12:08:35 -0400


Update of /cvs-repository/CMF/CMFTopic
In directory cvs.zope.org:/tmp/cvs-serv13354/CMFTopic

Modified Files:
	Topic.py 
Log Message:
 - Land tseaver-ti_apb_redux-branch.

=== CMF/CMFTopic/Topic.py 1.31 => 1.32 ===
--- CMF/CMFTopic/Topic.py:1.31	Sat Aug  3 22:31:31 2002
+++ CMF/CMFTopic/Topic.py	Tue Apr 15 12:08:04 2003
@@ -30,8 +30,8 @@
 
 # Factory type information -- makes Topic objects play nicely
 # with the Types Tool (portal_types )
-factory_type_information = \
-( { 'id'                : 'Topic'
+factory_type_information = (
+  { 'id'                : 'Topic'
   , 'content_icon'      : 'topic_icon.gif'
   , 'meta_type'         : 'Portal Topic'
   , 'description'       : 'Topics are canned queries for organizing content '
@@ -39,28 +39,27 @@
   , 'product'           : 'CMFTopic'
   , 'factory'           : 'addTopic'
   , 'immediate_view'    : 'topic_edit_form'
-  , 'actions'           :
-    ( { 'id'            : 'view'
-      , 'name'          : 'View'
-      , 'action'        : 'topic_view'
-      , 'permissions'   : (View,)
-      }
-    , { 'id'            : 'edit'
-      , 'name'          : 'Edit'
-      , 'action'        : 'topic_edit_form'
-      , 'permissions'   : (ChangeTopics,)
-      }
-    , { 'id'            : 'criteria'
-      , 'name'          : 'Criteria'
-      , 'action'        : 'topic_criteria_form'
-      , 'permissions'   : (ChangeTopics,)
-      }
-    , { 'id'            : 'subtopics'
-      , 'name'          : 'Subtopics'
-      , 'action'        : 'topic_subtopics_form'
-      , 'permissions'   : (ChangeTopics,)
-      }
-    )
+  , 'actions'           : ( { 'id'            : 'view'
+                            , 'name'          : 'View'
+                            , 'action'        : 'string:topic_view'
+                            , 'permissions'   : (View,)
+                            }
+                          , { 'id'            : 'edit'
+                            , 'name'          : 'Edit'
+                            , 'action'        : 'string:topic_edit_form'
+                            , 'permissions'   : (ChangeTopics,)
+                            }
+                          , { 'id'            : 'criteria'
+                            , 'name'          : 'Criteria'
+                            , 'action'        : 'string:topic_criteria_form'
+                            , 'permissions'   : (ChangeTopics,)
+                            }
+                          , { 'id'            : 'subtopics'
+                            , 'name'          : 'Subtopics'
+                            , 'action'        : 'string:topic_subtopics_form'
+                            , 'permissions'   : (ChangeTopics,)
+                            }
+                          )
   }
 ,
 )