Move discussion action item from actionicons.xml to actions.xml to avoid deprecation warning.

svn path=/plone.app.discussion/trunk/; revision=46264
This commit is contained in:
Timo Stollenwerk 2010-12-12 12:40:19 +00:00
parent 4c4cd9e44d
commit a9ef0503f2
3 changed files with 5 additions and 9 deletions

View File

@ -4,6 +4,10 @@ Changelog
1.0RC1 (unreleased)
-------------------
- Move discussion action item from actionicons.xml to actions.xml to avoid
deprecation warning.
[timo]
- Fix cancel button on edit view when using Dexterity types. This fixes
http://dev.plone.org/plone/ticket/11338.
[EpeliJYU]

View File

@ -1,8 +0,0 @@
<?xml version="1.0"?>
<action-icons xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone">
<action-icon category="controlpanel" action_id="discussion"
title="Discussion" priority="0"
icon_expr="discussionitem_icon.gif"
i18n:attributes="title"/>
</action-icons>

View File

@ -6,7 +6,7 @@
<property name="title" i18n:translate="">Moderate comments</property>
<property name="description" i18n:translate=""></property>
<property name="url_expr">string:${globals_view/navigationRootUrl}/@@moderate-comments</property>
<property name="icon_expr"></property>
<property name="icon_expr">string:${globals_view/navigationRootUrl}/discussionitem_icon.gif</property>
<property name="available_expr">portal/@@moderate-comments-enabled|nothing</property>
<property name="permissions">
<element value="Review comments"/>