aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates/org-gnome-templates.eplug.xml
blob: 02b14148ad604f62b859c6d82330351255ce5a98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?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</_description>
        <author name="Bharath Acharya" email="abharath@novell.com"/>
    <author name="Diego Escalante Urrelo" email="diegoe@gnome.org"/>

        <!-- hook into the mail popup menu -->
        <hook class="org.gnome.evolution.mail.popup:1.0">
            <menu 
                id="org.gnome.evolution.mail.folderview.popup" 
                target="select"
                factory="org_gnome_templates_popup">
            </menu>
        </hook>

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