<?xml version = '1.0'?>
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="24" name="tellico">
 <MenuBar>
  <Menu name="file">
   <text>&amp;File</text>
   <Menu append="new_merge" name="file_new_collection" >
    <text>&amp;New</text>
    <Action name="new_book_collection"/>
    <Action name="new_bibtex_collection"/>
    <Action name="new_comic_book_collection"/>
    <Action name="new_video_collection"/>
    <Action name="new_music_collection"/>
    <Action name="new_coin_collection"/>
    <Action name="new_stamp_collection"/>
    <Action name="new_card_collection"/>
    <Action name="new_wine_collection"/>
    <Action name="new_game_collection"/>
    <Action name="new_boardgame_collection"/>
    <Action name="new_file_catalog"/>
    <Action name="new_custom_collection"/>
   </Menu>
   <Menu name="file_import">
    <text>&amp;Import</text>
    <Action name="file_import_tellico"/>
    <Action name="file_import_csv"/>
    <Separator/>
    <Action name="file_import_alexandria"/>
    <Action name="file_import_bibtex"/>
    <Action name="file_import_bibtexml"/>
    <Action name="file_import_delicious"/>
    <Action name="file_import_mods"/>
    <Action name="file_import_pdf"/>
    <Action name="file_import_referencer"/>
    <Action name="file_import_ris"/>
    <Separator/>
    <Action name="file_import_freedb"/>
    <Action name="file_import_audiofile"/>
    <Separator/>
    <Action name="file_import_amc"/>
    <Action name="file_import_gcfilms"/>
    <Action name="file_import_griffith"/>
    <Separator/>
    <Action name="file_import_filelisting"/>
    <Separator/>
    <Action name="file_import_xslt"/>
   </Menu>
   <Menu name="file_export">
    <text>&amp;Export</text>
    <Action name="file_export_xml"/>
    <Action name="file_export_zip"/>
    <Action name="file_export_html"/>
    <Action name="file_export_csv"/>
    <Action name="file_export_pilotdb"/>
    <Separator/>
    <Action name="file_export_alexandria"/>
    <Action name="file_export_bibtex"/>
    <Action name="file_export_bibtexml"/>
    <Action name="file_export_onix"/>
    <Separator/>
    <Action name="file_export_gcfilms"/>
    <Separator/>
    <Action name="file_export_xslt"/>
   </Menu>
  </Menu>
  <Menu name="edit">
   <Action name="edit_search_internet"/>
   <Action name="filter_dialog"/>
  </Menu>
  <Menu name="collection">
   <text>&amp;Collection</text>
   <Action name="coll_new_entry"/>
   <Action name="coll_edit_entry"/>
   <Action name="coll_copy_entry"/>
   <Action name="coll_delete_entry"/>
   <Action name="coll_merge_entry"/>
   <Menu name="coll_update_entry">
    <text>&amp;Update Entry</text>
    <Action name="update_entry_all"/>
    <Separator/>
    <ActionList name="update_entry_actions"/>
   </Menu>
   <Separator/>
   <Action name="coll_checkout"/>
   <Action name="coll_checkin"/>
   <Separator/>
   <Action name="coll_rename_collection"/>
   <Action name="coll_fields"/>
   <Action name="coll_reports"/>
   <Separator/>
   <Action name="coll_convert_bibliography"/>
   <Action name="coll_string_macros"/>
   <Action name="cite_clipboard"/>
   <Action name="cite_lyxpipe"/>
   <Action name="cite_openoffice"/>
  </Menu>
  <Menu name="settings">
   <Action append="show_merge" name="toggle_collection_bar"/>
   <Action append="show_merge" name="toggle_group_widget"/>
   <Action append="show_merge" name="toggle_edit_widget"/>
   <Action append="show_merge" name="toggle_entry_view"/>
   <Action append="show_merge" name="change_entry_grouping"/>
  </Menu>
  <Menu name="help">
   <Action name="tipOfDay"/>
  </Menu>
 </MenuBar>
 <ToolBar noMerge="1" name="mainToolBar">
  <text>Main Toolbar</text>
  <Action name="file_new_collection"/>
  <Action name="file_open"/>
  <Action name="file_save"/>
  <Action name="file_print"/>
  <Separator/>
  <Action name="edit_search_internet"/>
 </ToolBar>
 <ToolBar name="collectionToolBar">
  <text>Collection Toolbar</text>
  <Action name="coll_new_entry"/>
  <Action name="coll_fields"/>
  <Action name="coll_reports"/>
  <Action name="change_entry_grouping"/>
  <Separator lineSeparator="true"/>
  <Action name="quick_filter_clear"/>
  <Action name="quick_filter"/>
  <Action name="filter_dialog"/>
 </ToolBar>

<State name="collection_reset">
 <Disable>
  <Action name="file_export_alexandria"/>
  <Action name="file_export_onix"/>
  <Action name="file_export_bibtex"/>
  <Action name="file_export_bibtexml"/>
  <Action name="file_export_gcfilms"/>
  <Action name="file_export_amc"/>
  <Action name="coll_convert_bibliography"/>
  <Action name="coll_string_macros"/>
  <Action name="cite_clipboard"/>
  <Action name="cite_lyxpipe"/>
  <Action name="cite_openoffice"/>
 </Disable>
</State>

<State name="is_book">
 <Enable>
  <Action name="file_export_alexandria"/>
  <Action name="file_export_onix"/>
  <Action name="coll_convert_bibliography"/>
 </Enable>
</State>

<State name="is_bibliography">
 <Enable>
  <Action name="file_export_alexandria"/>
  <Action name="file_export_onix"/>
  <Action name="file_export_bibtex"/>
  <Action name="file_export_bibtexml"/>
  <Action name="coll_string_macros"/>
<!-- cite actions taken care in selection code
  <Action name="cite_clipboard"/>
  <Action name="cite_lyxpipe"/>
  <Action name="cite_openoffice"/>
 -->
 </Enable>
</State>

<State name="is_video">
 <Enable>
  <Action name="file_export_gcfilms"/>
  <Action name="file_export_amc"/>
 </Enable>
</State>

<State name="empty_selection">
 <Disable>
  <Action name="coll_edit_entry"/>
  <Action name="coll_copy_entry"/>
  <Action name="coll_delete_entry"/>
  <Action name="coll_update_entry"/>
  <Menu name="coll_update_entry"/>
  <Action name="update_entry_all"/>
  <Action name="coll_checkout"/>
 </Disable>
</State>

</kpartgui>
