<Addin namespace="FSpot"
       id="Core"
       version="0.8"
       compatVersion="0.8"
       isroot="true">

	<Runtime>
		<Import assembly="f-spot.exe" />
		<Import assembly="FSpot.Gui.dll" />
	</Runtime>

	<ExtensionPoint path = "/FSpot/Editors">
		<ExtensionNode type="FSpot.Editors.EditorNode"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/FSpot/Menus">
		<ExtensionNode type="FSpot.Extensions.SubmenuNode"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/FSpot/Sidebar">
		<ExtensionNode name="SidebarPage" type="FSpot.Extensions.SidebarPageNode"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/FSpot/Services">
		<ExtensionNode name="Service" type="FSpot.Extensions.ServiceNode"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/FSpot/SlideShow">
		<ExtensionNode name="Transition" type="FSpot.Extensions.TransitionNode"/>
	</ExtensionPoint>

	<Extension path = "/FSpot/Menus">
		<Menu id="Exports" _label="Export to" />
	</Extension>

	<Extension path = "/FSpot/Menus">
		<Menu id="Tools" _label="Tools" />
	</Extension>

	<Extension path = "/FSpot/Menus">
		<Menu id = "PhotoPopup" />
	</Extension>

	<ConditionType id="PhotoSelection" type="FSpot.Extensions.PhotoSelectionCondition" />
	<ConditionType id="ViewMode" type="FSpot.Extensions.ViewModeCondition" />

	<Extension path = "/FSpot/Menus/PhotoPopup">
		<Command id = "Copy" _label = "Copy Photo" command_type = "FSpot.Extensions.Copy" />
		<MenuSeparator id = "Separator1" />
		<Command id = "RLeft" _label = "Rotate _Left" icon = "object-rotate-left" command_type = "FSpot.Extensions.Rotate270" />
		<Command id = "RRight" _label = "Rotate _Right" icon = "object-rotate-right" command_type = "FSpot.Extensions.Rotate90" />
		<MenuSeparator id = "Separator2" />
		<MenuGenerator id = "OpenWith" _label = "Open _With" icon = "gtk-open" generator_type = "FSpot.Extensions.OpenWith" />
		<Command id = "Remove" _label = "_Remove From Catalog" command_type = "FSpot.Extensions.Remove" />
		<Command id = "Delete" _label = "_Delete From Drive" command_type = "FSpot.Extensions.Delete" />
		<MenuSeparator id = "Separator3" />
		<MenuGenerator id = "RemoveTag" _label = "Rem_ove Tag" icon = "gtk-remove" generator_type = "FSpot.Extensions.RemoveTag" />
		<ComplexMenuItem id = "Rate" widget_type = "FSpot.Widgets.RatingMenuItem"  command_type = "FSpot.Extensions.Rate"/>
	</Extension>

	<Extension path = "/FSpot/Sidebar">
<!-- FIXME: Disabled until ported		<SidebarPage sidebar_page_type = "FSpot.Widgets.MetadataDisplayPage" /> -->
		<Condition id="ViewMode" mode="library">
			<SidebarPage sidebar_page_type = "FSpot.Widgets.EditorPage" />
			<SidebarPage sidebar_page_type = "FSpot.Widgets.FolderTreePage" />
		</Condition>
	</Extension>

	<Extension path = "/FSpot/Editors">
		<Editor editor_type = "FSpot.Editors.CropEditor"/>
		<Editor editor_type = "FSpot.Editors.RedEyeEditor"/>
		<Editor editor_type = "FSpot.Editors.DesaturateEditor"/>
		<Editor editor_type = "FSpot.Editors.SepiaEditor"/>
		<Editor editor_type = "FSpot.Editors.TiltEditor"/>
		<Editor editor_type = "FSpot.Editors.SoftFocusEditor"/>
		<Editor editor_type = "FSpot.Editors.AutoStretchEditor"/>
		<Editor editor_type = "FSpot.Editors.ColorEditor"/>
	</Extension>

	<Extension path = "/FSpot/SlideShow">
		<Transition transition_type = "FSpot.Transitions.DissolveTransition"/>
		<Transition transition_type = "FSpot.Transitions.PushTransition"/>
	</Extension>
</Addin>
