aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
blob: d904d295d604c3df22a7d0c046b9b1d2b743e9f7 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<e-plugin-list>
  <e-plugin type="shlib" location="@PLUGINDIR@/liborg-gnome-mail-to-task@SOEXT@" 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">
#if !EXPRESS
        <menubar name='main-menu'>
          <placeholder name='custom-menus'>
            <menu action="mail-message-menu">
              <placeholder name="mail-message-actions">
                <menuitem action="mail-convert-to-event"/>
                <menuitem action="mail-convert-to-meeting"/>
                <menuitem action="mail-convert-to-task"/>
                <menuitem action="mail-convert-to-memo"/>
              </placeholder>
            </menu>
          </placeholder>
        </menubar>
        <popup name="mail-preview-popup">
          <placeholder name="mail-message-popup-actions">
            <menuitem action="mail-convert-to-event"/>
            <menuitem action="mail-convert-to-meeting"/>
            <menuitem action="mail-convert-to-task"/>
            <menuitem action="mail-convert-to-memo"/>
          </placeholder>
        </popup>
#endif
      </ui-manager>
      <ui-manager id="org.gnome.evolution.mail"
                  callback="mail_shell_view_init">
#if !EXPRESS
        <menubar name='main-menu'>
          <placeholder name='custom-menus'>
            <menu action="mail-message-menu">
              <placeholder name="mail-message-actions">
                <menuitem action="mail-convert-to-event"/>
                <menuitem action="mail-convert-to-meeting"/>
                <menuitem action="mail-convert-to-task"/>
                <menuitem action="mail-convert-to-memo"/>
              </placeholder>
            </menu>
          </placeholder>
        </menubar>
        <popup name="mail-message-popup">
           <placeholder name="mail-message-popup-actions">
            <menuitem action="mail-convert-to-event"/>
            <menuitem action="mail-convert-to-meeting"/>
            <menuitem action="mail-convert-to-task"/>
            <menuitem action="mail-convert-to-memo"/>
          </placeholder>
        </popup>
        <popup name="mail-preview-popup">
          <placeholder name="mail-message-popup-actions">
            <menuitem action="mail-convert-to-event"/>
            <menuitem action="mail-convert-to-meeting"/>
            <menuitem action="mail-convert-to-task"/>
            <menuitem action="mail-convert-to-memo"/>
          </placeholder>
        </popup>
      </ui-manager>
#endif
    </hook>

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