<?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="event_listing_settings" meta_type="CMF Action" i18n:domain="plone.app.event">
   <property name="title" i18n:translate="title_event_listing_settings">Event Listing Settings</property>
   <property name="description" i18n:translate="help_event_listing_settings">Settings for the event listing view.</property>
   <property name="url_expr">string:${object_url}/@@event_listing_settings</property>
   <property name="icon_expr"></property>
   <property name="available_expr">python:object.defaultView()=='event_listing' and object.portal_type not in ('Collection', 'Topic')</property>
   <property name="permissions">
    <element value="Manage properties"/>
   </property>
   <property name="visible">True</property>
  </object>
  <object name="ical_import_settings" meta_type="CMF Action" i18n:domain="plone.app.event">
   <property name="title" i18n:translate="title_ical_import">Ical import</property>
   <property name="description" i18n:translate="help_ical_import">Import Events from icalendar files.</property>
   <property name="url_expr">string:${object_url}/@@ical_import_settings</property>
   <property name="icon_expr"></property>
   <property name="available_expr">object/@@ical_import_tool/enabled|nothing</property>
   <property name="permissions">
    <element value="Manage properties"/>
   </property>
   <property name="visible">True</property>
  </object>
 </object>

 <object name="object_buttons" meta_type="CMF Action Category">
  <object name="ical_import_enable" meta_type="CMF Action" i18n:domain="plone.app.event">
   <property name="title" i18n:translate="title_ical_import_enable">Enable icalendar import</property>
   <property name="description" i18n:translate="help_ical_import_enable">Click to enable the icalendar import feature on this context.</property>
   <property name="url_expr">string:$object_url/@@ical_import_settings/enable</property>
   <property name="available_expr">object/@@ical_import_tool/available_disabled|nothing</property>
   <property name="permissions">
    <element value="Manage properties" />
   </property>
   <property name="visible">True</property>
  </object>
  <object name="ical_import_disable" meta_type="CMF Action" i18n:domain="plone.app.event">
   <property name="title" i18n:translate="title_ical_import_disable">Disable icalendar import</property>
   <property name="description" i18n:translate="help_ical_import_disable">Click to disable the icalendar import feature on this context.</property>
   <property name="url_expr">string:$object_url/@@ical_import_settings/disable</property>
   <property name="available_expr">object/@@ical_import_tool/enabled|nothing</property>
   <property name="permissions">
    <element value="Manage properties" />
   </property>
   <property name="visible">True</property>
  </object>
 </object>

</object>
