<?xml version="1.0" encoding="UTF-8"?>
<e-plugin-list>
  <e-plugin type="shlib" location="/usr/lib/evolution/plugins/liborg-gnome-mail-to-task.so" id="org.gnome.evolution.plugin.mailToTask" name="Mail-to-Task">
    <author name="Rodrigo Moya" email="rodrigo@novell.com"/>
    <description>Convert a mail message to a task.</description>

    <hook class="org.gnome.evolution.ui:1.0">
      <ui-manager id="org.gnome.evolution.mail.browser" callback="mail_browser_init">
        <menubar name="main-menu">
          <placeholder name="custom-menus">
            <menu action="mail-message-menu">
              <menu action="mail-create-menu">
                <placeholder name="mail-conversion-actions">
                  <menuitem action="mail-convert-to-appointment"/>
                  <menuitem action="mail-convert-to-meeting"/>
                  <menuitem action="mail-convert-to-task"/>
                  <menuitem action="mail-convert-to-memo"/>
                </placeholder>
              </menu>
            </menu>
          </placeholder>
        </menubar>
        <popup name="mail-preview-popup">
          <placeholder name="mail-message-popup-actions">
            <menuitem action="mail-convert-to-appointment"/>
            <menuitem action="mail-convert-to-meeting"/>
            <menuitem action="mail-convert-to-task"/>
            <menuitem action="mail-convert-to-memo"/>
          </placeholder>
        </popup>
      </ui-manager>
      <ui-manager id="org.gnome.evolution.mail" callback="mail_shell_view_init">
        <menubar name="main-menu">
          <placeholder name="custom-menus">
            <menu action="mail-message-menu">
              <menu action="mail-create-menu">
                <placeholder name="mail-conversion-actions">
                  <menuitem action="mail-convert-to-appointment"/>
                  <menuitem action="mail-convert-to-meeting"/>
                  <menuitem action="mail-convert-to-task"/>
                  <menuitem action="mail-convert-to-memo"/>
                </placeholder>
              </menu>
            </menu>
          </placeholder>
        </menubar>
        <popup name="mail-message-popup">
           <menu action="mail-create-menu">
             <placeholder name="mail-conversion-actions">
              <menuitem action="mail-convert-to-appointment"/>
              <menuitem action="mail-convert-to-meeting"/>
              <menuitem action="mail-convert-to-task"/>
              <menuitem action="mail-convert-to-memo"/>
            </placeholder>
          </menu>
        </popup>
        <popup name="mail-preview-popup">
          <placeholder name="mail-message-popup-actions">
            <menuitem action="mail-convert-to-appointment"/>
            <menuitem action="mail-convert-to-meeting"/>
            <menuitem action="mail-convert-to-task"/>
            <menuitem action="mail-convert-to-memo"/>
          </placeholder>
        </popup>
      </ui-manager>
    </hook>

  </e-plugin>
</e-plugin-list>