<?xml version="1.0"?>
<e-plugin-list>
  <e-plugin
    type="shlib"
    id="org.gnome.evolution.plugin.exchange-operations"
    location="@PLUGINDIR@/liborg-gnome-exchange-operations@SOEXT@"
    load-on-startup="true"
    _name="Exchange Operations">
    <author name="Sushma Rai" email="rsushma@novell.com"/>
    <author name="Praveen Kumar" email="kpraveen@novell.com"/>
    <author name="Shakti Sen" email="shprasad@novell.com"/>
    <author name="Raghavendran R" email="raghavguru7@gmail.com"/>	
    <_description>A plugin that handles a collection of Exchange account specific operations and features.</_description>
	
    <hook class="org.gnome.evolution.mail.config:1.0">
      	<group 
		target="account" 
		id="org.gnome.evolution.mail.config.accountEditor"
		check="org_gnome_exchange_check_options"
		commit="org_gnome_exchange_commit">
		<item type="page" 
	      		path="40.oof" 
	      		_label="Exchange Settings"
	      		factory="org_gnome_exchange_settings"/>
                <item type="item_table"
                        path="10.receive/10.config/20.owa"
			factory="org_gnome_exchange_owa_url"/>
		<item type="section"
			path="10.receive/30.auth/00.exchange_auth"
			factory="org_gnome_exchange_auth_section"/>
      	</group>

        <group
                target="account"
                id="org.gnome.evolution.mail.config.accountDruid"
		check="org_gnome_exchange_check_options">
                <item type="item_table"
                        path="10.receive/10.config/20.owa"
			factory="org_gnome_exchange_owa_url"/>
	</group>

        <group
                target="account"
                id="org.gnome.evolution.mail.config.accountWizard"
		check="org_gnome_exchange_check_options">
                <item type="item_table"
                        path="10.receive/10.config/20.owa"
			factory="org_gnome_exchange_owa_url"/>
	</group>
    </hook>

    <hook class="org.gnome.evolution.calendar.config:1.0">
	<group
	     target="source"
	     id="org.gnome.evolution.calendar.calendarProperties"
	     check="e_exchange_calendar_check"
	     commit="e_exchange_calendar_commit">
                <item
		 type="item_table"
		 path="00.general/00.source/40.pcalendar"
		 factory="e_exchange_calendar_pcalendar"/>
        </group>
    </hook>

    <hook class="org.gnome.evolution.addressbook.config:1.0">
        <group
	     target="source"
	     id="com.novell.evolution.addressbook.config.accountEditor"
	     check="e_exchange_contacts_check"
	     commit="e_exchange_contacts_commit">
             <item
		 type="item"
		 path="00.general/10.display/40.pcontacts"
		 factory="e_exchange_contacts_pcontacts"/>
	</group>
    </hook>

	<hook class="org.gnome.evolution.mail.popup:1.0">
		<menu id="org.gnome.evolution.mail.foldertree.popup" target="folder" factory = "org_gnome_exchange_folder_permissions">
		</menu>
	</hook> 
	<hook class="org.gnome.evolution.calendar.popup:1.0">
		<menu id="org.gnome.evolution.calendar.source.popup" target="source" factory="org_gnome_exchange_calendar_permissions">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.popup:1.0">
		<menu id="org.gnome.evolution.tasks.source.popup" target="source" factory="org_gnome_exchange_calendar_permissions">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.addressbook.popup:1.0">
		<menu id="org.gnome.evolution.addressbook.source.popup" target="source" factory="org_gnome_exchange_addressbook_permissions">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.mail.bonobomenu:1.0">
	<menu id="org.gnome.evolution.mail.browser" target="select">
	<ui file="@PLUGINDIR@/org-gnome-folder-permissions.xml"/>
	<item
		type="item"
		verb="CheckFolderPermission"
		path="/commands/CheckFolderPermission"
		enable="all"
		activate="org_gnome_exchange_menu_folder_permissions"/>
	</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.bonobomenu:1.0">
	<menu id="org.gnome.evolution.calendar.view" target="select">
	<ui file="@PLUGINDIR@/org-gnome-folder-permissions.xml"/>
	<item
		type="item"
		verb="CheckFolderPermission"
		path="/commands/CheckFolderPermission"
		enable="all"
		activate="org_gnome_exchange_menu_cal_permissions"/>
	</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.bonobomenu:1.0">
	<menu id="org.gnome.evolution.tasks.view" target="select">
	<ui file="@PLUGINDIR@/org-gnome-folder-permissions.xml"/>
	<item
		type="item"
		verb="CheckFolderPermission"
		path="/commands/CheckFolderPermission"
		enable="all"
		activate="org_gnome_exchange_menu_tasks_permissions"/>
	</menu>
	</hook>
	<hook class="org.gnome.evolution.addressbook.bonobomenu:1.0">
	<menu id="org.gnome.evolution.addressbook.view" target="select">
	<ui file="@PLUGINDIR@/org-gnome-folder-permissions.xml"/>
	<item
		type="item"
		verb="CheckFolderPermission"
		path="/commands/CheckFolderPermission"
		enable="all"
		activate="org_gnome_exchange_menu_ab_permissions"/>
	</menu>
	</hook>
	<hook class="org.gnome.evolution.mail.bonobomenu:1.0">
		<menu id="org.gnome.evolution.mail.browser" target="select">
		<ui file="@PLUGINDIR@/org-gnome-folder-subscription.xml"/>
		<item
			type="item"
			verb="FolderSubscription"
			path="/commands/FolderSubscription"
			enable="all"
			activate="org_gnome_exchange_inbox_subscription"/>
		</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.bonobomenu:1.0">
		<menu id="org.gnome.evolution.calendar.view" target="select">
		<ui file="@PLUGINDIR@/org-gnome-exchange-cal-subscription.xml"/>
		<item
			type="item"
			verb="FolderSubscription"
			path="/commands/FolderSubscription"
			enable="all"
			activate="org_gnome_exchange_calendar_subscription"/>
		</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.bonobomenu:1.0">
		<menu id="org.gnome.evolution.tasks.view" target="select">
		<ui file="@PLUGINDIR@/org-gnome-exchange-tasks-subscription.xml"/>
		<item
			type="item"
			verb="FolderSubscription"
			path="/commands/FolderSubscription"
			enable="all"
			activate="org_gnome_exchange_tasks_subscription"/>
		</menu>
	</hook>
	<hook class="org.gnome.evolution.addressbook.bonobomenu:1.0">
		<menu id="org.gnome.evolution.addressbook.view" target="select">
		<ui file="@PLUGINDIR@/org-gnome-exchange-ab-subscription.xml"/>
		<item
			type="item"
			verb="FolderSubscription"
			path="/commands/FolderSubscription"
			enable="all"
			activate="org_gnome_exchange_addressbook_subscription"/>
		</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.popup:1.0">
		<menu id="org.gnome.evolution.calendar.source.popup" 
			target="source" 
			factory="org_gnome_exchange_check_subscribed">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.calendar.popup:1.0">
		<menu id="org.gnome.evolution.tasks.source.popup" 
			target="source" 
			factory="org_gnome_exchange_check_subscribed">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.addressbook.popup:1.0">
		<menu id="org.gnome.evolution.addressbook.source.popup" 
			target="source" 
			factory="org_gnome_exchange_check_address_book_subscribed">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.mail.popup:1.0">
		<menu id="org.gnome.evolution.mail.foldertree.popup" 
			target="folder" 
			factory = "org_gnome_exchange_check_inbox_subscribed">
		</menu>
	</hook>
	<hook class="org.gnome.evolution.mail.config:1.0">
		<group id="org.gnome.evolution.mail.folderConfig" 
			target="folder"
			check= "exchange_show_folder_size_check">
		<item 
			type="page" 
			path="10.size" 
			_label="Size" 
			factory="org_gnome_exchange_show_folder_size_factory"/>
		</group>
	</hook>
	<hook class="org.gnome.evolution.mail.events:1.0">
			<event
			   id="composer.selectsendoption"
			   handle="org_gnome_exchange_send_options"
			   target="composer"
			   enable="sendoption"
			/>
	</hook>
  </e-plugin>
</e-plugin-list>
