aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml
blob: 464ade905344ba73a1d9160e9c367349173f27f5 (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
<?xml version="1.0"?>
<e-plugin-list>
  <e-plugin
    type="shlib"
    id="org.gnome.plugin.mailing-list.actions"
    domain="@GETTEXT_PACKAGE@"
    location="@PLUGINDIR@/liborg-gnome-mailing-list-actions@SOEXT@"
    _name="Mailing List Actions">
        <author name="Meilof Veeningen" email="meilof@wanadoo.nl"/>
    <_description>Perform common mailing list actions (subscribe, unsubscribe, etc.).</_description>

    <hook class="org.gnome.evolution.ui:1.0">
      <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'>
              <placeholder name='mail-message-custom-menus'>
                <menu action='mailing-list-menu'>
                  <menuitem action='mailing-list-help'/>
                  <menuitem action='mailing-list-subscribe'/>
                  <menuitem action='mailing-list-unsubscribe'/>
                  <menuitem action='mailing-list-post'/>
                  <menuitem action='mailing-list-owner'/>
                  <menuitem action='mailing-list-archive'/>
                </menu>
              </placeholder>
            </menu>
          </placeholder>
        </menubar>
      </ui-manager>
      <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'>
              <placeholder name='mail-message-custom-menus'>
                <menu action='mailing-list-menu'>
                  <menuitem action='mailing-list-help'/>
                  <menuitem action='mailing-list-subscribe'/>
                  <menuitem action='mailing-list-unsubscribe'/>
                  <menuitem action='mailing-list-post'/>
                  <menuitem action='mailing-list-owner'/>
                  <menuitem action='mailing-list-archive'/>
                </menu>
              </placeholder>
            </menu>
          </placeholder>
        </menubar>
      </ui-manager>
    </hook>

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