<?xml version="1.0"?>
<e-plugin-list>
    <e-plugin
        type="shlib"
        id="org.gnome.evolution.plugin.templates"
        location="@PLUGINDIR@/liborg-gnome-templates@SOEXT@"
        _name="Templates">
        <_description>Drafts based template plugin.
        
        You can use variables like $ORIG[subject], $ORIG[from], $ORIG[to], $ORIG[body], $ORIG[quoted-body] or $ORIG[reply-credits], which will be replaced by values from an email you are replying to.</_description>
        <author name="Bharath Acharya" email="abharath@novell.com"/>
        <author name="Diego Escalante Urrelo" email="diegoe@gnome.org"/>
        <author name="Dan Vratil" email="dvratil@redhat.com"/>

        <hook class="org.gnome.evolution.ui:1.0">
          <ui-manager id="org.gnome.evolution.shell"
                      callback="init_shell_actions"/>
          <ui-manager id="org.gnome.evolution.composer"
                      callback="init_composer_actions">
            <menubar name='main-menu'>
              <placeholder name='pre-edit-menu'>
                <menu action='file-menu'>
                  <placeholder name="template-holder">
                    <menuitem action="template-replace"/>
                    <menuitem action="template-save-new"/>
                  </placeholder>
                </menu>
              </placeholder>
            </menubar>
          </ui-manager>
        </hook>
    </e-plugin>
</e-plugin-list>

