<?xml version="1.0"?>
<object name="portal_actions"
        meta_type="Plone Actions Tool"
        xmlns:i18n="http://xml.zope.org/namespaces/i18n">

    <object name="object" meta_type="CMF Action Category">
        <object name="ical_export_settings" meta_type="CMF Action" i18n:domain="ftw.events">
            <property name="title" i18n:translate="title_ical_export">Ical export</property>
            <property name="description" i18n:translate="help_ical_export">Export an ICS file containing all events from the current context.</property>
            <property name="url_expr">string:${object_url}/ics_view</property>
            <property name="icon_expr"></property>
            <property name="available_expr">python:context.portal_type == 'ftw.events.EventFolder'</property>
            <property name="visible">True</property>
        </object>
    </object>

</object>
