aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml')
-rw-r--r--plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml92
1 files changed, 51 insertions, 41 deletions
diff --git a/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml b/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml
index 7b0861c70e..464ade9053 100644
--- a/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml
+++ b/plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml
@@ -1,44 +1,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.mail.bonobomenu:1.0">
- <menu id="org.gnome.evolution.mail.browser" target="select">
- <ui file="@PLUGINDIR@/org-gnome-mailing-list-actions.xml"/>
- <item type="item" verb="ListHelp" path="/commands/ListHelp" enable="mailing_list" activate="emla_list_help"/>
- <item type="item" verb="ListSubscribe" path="/commands/ListSubscribe" enable="mailing_list" activate="emla_list_subscribe"/>
- <item type="item" verb="ListUnsubscribe" path="/commands/ListUnsubscribe" enable="mailing_list" activate="emla_list_unsubscribe"/>
- <item type="item" verb="ListPost" path="/commands/ListPost" enable="mailing_list" activate="emla_list_post"/>
- <item type="item" verb="ListOwner" path="/commands/ListOwner" enable="mailing_list" activate="emla_list_owner"/>
- <item type="item" verb="ListArchive" path="/commands/ListArchive" enable="mailing_list" activate="emla_list_archive"/>
- </menu>
- <menu id="org.gnome.evolution.mail.messagebrowser" target="select">
- <ui file="@PLUGINDIR@/org-gnome-mailing-list-actions.xml"/>
- <item type="item" verb="ListHelp" path="/commands/ListHelp" enable="mailing_list" activate="emla_list_help"/>
- <item type="item" verb="ListSubscribe" path="/commands/ListSubscribe" enable="mailing_list" activate="emla_list_subscribe"/>
- <item type="item" verb="ListUnsubscribe" path="/commands/ListUnsubscribe" enable="mailing_list" activate="emla_list_unsubscribe"/>
- <item type="item" verb="ListPost" path="/commands/ListPost" enable="mailing_list" activate="emla_list_post"/>
- <item type="item" verb="ListOwner" path="/commands/ListOwner" enable="mailing_list" activate="emla_list_owner"/>
- <item type="item" verb="ListArchive" path="/commands/ListArchive" enable="mailing_list" activate="emla_list_archive"/>
- </menu>
- </hook>
- <hook class="org.gnome.evolution.mail.popup:1.0">
- <menu id="org.gnome.mail.folderview.popup.select" target="select">
- <item type="bar" path="96.list" visible="mailing_list" activate=""/>
- <item type="submenu" path="96.list.00" visible="mailing_list" activate="" _label="Mailing _List"/>
- <item type="item" verb="ListHelp" path="96.list.00/00.help" _label="Get list _usage information" visible="mailing_list" activate="emla_list_help"/>
- <item type="item" verb="ListSubscribe" path="96.list.00/10.subscribe" _label="_Subscribe to list" visible="mailing_list" activate="emla_list_subscribe"/>
- <item type="item" verb="ListUnsubscribe" path="96.list.00/20.unsubscribe" _label="_Un-subscribe to list" visible="mailing_list" activate="emla_list_unsubscribe"/>
- <item type="item" verb="ListPost" path="96.list.00/30.post" _label="_Post message to list" visible="mailing_list" activate="emla_list_post"/>
- <item type="item" verb="ListOwner" path="96.list.00/40.owner" _label="Contact list _owner" visible="mailing_list" activate="emla_list_owner"/>
- <item type="item" verb="ListArchive" path="96.list.00/50.archive" _label="Get list _archive" visible="mailing_list" activate="emla_list_archive"/>
- </menu>
- </hook>
- </e-plugin>
+ <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>