<!DOCTYPE kpartgui>
<kpartgui name="catalogmanager" version="19">
 <MenuBar>
   <Menu name="edit"><text>&amp;Edit</text>
      <Action name="find_in_files"/>
      <Action name="replace_in_files"/>
      <Action name="stop_search"/>
      <Separator/>
      <Action name="reload"/>
   </Menu>
   <Menu name="go"><text>&amp;Go</text>
      <Action name="go_next_fuzzyUntr"/>
      <Action name="go_prev_fuzzyUntr"/>
      <Action name="go_next_fuzzy"/>
      <Action name="go_prev_fuzzy"/>
      <Action name="go_next_untrans"/>
      <Action name="go_prev_untrans"/>
      <Separator/>
      <Action name="go_next_error"/>
      <Action name="go_prev_error"/>
      <Separator/>
      <Action name="go_next_marked"/>
      <Action name="go_prev_marked"/>
      <Separator/>
      <Action name="go_next_template"/>
      <Action name="go_prev_template"/>
      <Action name="go_next_po"/>
      <Action name="go_prev_po"/>
   </Menu>
   <Menu name="markings"><text>&amp;Markings</text>
      <Action name="toggle_marking"/>
      <Action name="remove_marking"/>
      <Action name="toggle_all_marking"/>
      <Action name="remove_all_marking"/>
      <Separator/>
      <Action name="load_marking"/>
      <Action name="save_marking"/>
   </Menu>
   <Menu name="tools"><text>&amp;Tools</text>
      <Action name="statistics"/>
      <Action name="statistics_marked"/>
      <Action name="syntax"/>
      <Separator/>
      <Action name="spellcheck"/>
      <Action name="spellcheck_marked"/>
      <Separator/>
      <Action name="rough_translation"/>
      <Action name="rough_translation_marked"/>
      <Separator/>
      <Action name="mail_file"/>
      <Action name="mail_file_marked"/>
    </Menu>
   <Menu name="settings"><text>&amp;Settings</text>
      <Action name="settings_show_navbar" append="show_merge"/>
      <Action name="settings_show_comments" append="show_merge"/>
      <Action name="settings_show_tools" append="show_merge"/>
   </Menu>
   <Menu name="help"><text>&amp;Help</text>
      <Action name="help_gettext"/>
      <Action name="dict_about" append="about_merge"/>
   </Menu>
 </MenuBar>
 <ToolBar name="mainToolBar"><text>Main</text>
    <Action name="reload"/>
    <Action name="statistics"/>
    <Action name="syntax"/>
    <Action name="stop_search"/>
    <Action name="file_quit"/>
 </ToolBar>
 <ToolBar name="navigationbar"><text>Navigationbar</text>
    <Action name="go_prev_entry"/>
    <Action name="go_next_entry"/>
    <Separator/>
    <Action name="go_first"/>
    <Action name="go_last"/>
    <Action name="go_prev_fuzzyUntr"/>
    <Action name="go_next_fuzzyUntr"/>
    <Action name="go_prev_fuzzy"/>
    <Action name="go_next_fuzzy"/>
    <Action name="go_prev_untrans"/>
    <Action name="go_next_untrans"/>
    <Separator/>
    <Action name="go_prev_error"/>
    <Action name="go_next_error"/>
    <Separator/>
    <Action name="go_prev_marked"/>
    <Action name="go_next_marked"/>
    <Separator/>
    <Action name="go_prev_template"/>
    <Action name="go_next_template"/>
    <Action name="go_prev_po"/>
    <Action name="go_next_po"/>
 </ToolBar>
 <Menu name="rmb_file">
    <Action name="open"/>
    <Action name="open_new_window"/>
    <Action name="open_template"/>
    <Separator/>
    <Action name="reload"/>
    <Separator/>
    <Action name="syntax"/>
    <Action name="statistics"/>
    <Action name="file_commands"/>
    <Separator/>
    <Action name="delete"/>
 </Menu>
 <Menu name="rmb_dir">
    <Action name="toggle_marking"/>
    <Action name="remove_marking"/>
    <Action name="toggle_all_marking"/>
    <Action name="remove_all_marking"/>
    <Separator/>
    <Action name="reload"/>
    <Separator/>
    <Action name="syntax"/>
    <Action name="statistics"/>
    <Action name="dir_commands"/>
 </Menu>										 

<State name="treeBuilt">
    <Enable>
      <Action name="open"/>
      <Action name="open_new_window"/>
      <Action name="find_in_files"/>
      <Action name="replace_in_files"/>
      <Action name="reload"/>

      <Action name="go_next_fuzzyUntr"/>
      <Action name="go_prev_fuzzyUntr"/>
      <Action name="go_next_fuzzy"/>
      <Action name="go_prev_fuzzy"/>
      <Action name="go_next_untrans"/>
      <Action name="go_prev_untrans"/>
      <Action name="go_next_error"/>
      <Action name="go_prev_error"/>
      <Action name="go_next_marked"/>
      <Action name="go_prev_marked"/>
      <Action name="go_next_template"/>
      <Action name="go_prev_template"/>
      <Action name="go_next_po"/>
      <Action name="go_prev_po"/>
      <Action name="load_marking"/>
      <Action name="save_marking"/>
      <Action name="toggle_marking"/>
      <Action name="toggle_all_marking"/>
      <Action name="statistics"/>
      <Action name="rough_translation"/>
      <Action name="reload"/>
    </Enable>
</State>

<State name="onPot">
    <Enable>
	<Action name="open_template" />
    </Enable>
    <Disable>
	<Action name="delete" />
    </Disable>
</State>

<State name="onPo">
    <Enable>
	<Action name="syntax" />
	<Action name="spellcheck" />
	<Action name="mail_file"/>
	<Action name="delete"/>
    </Enable>
</State>

<State name="onPoMarked">
    <Enable>
	<Action name="spellcheck_marked" />
	<Action name="mail_file_marked"/>
    </Enable>
</State>

<State name="onMarked">
    <Enable>
	<Action name="statistics_marked"/>
	<Action name="remove_marking"/>
	<Action name="remove_all_marking"/>
        <Action name="rough_translation_marked"/>
    </Enable>
</State>

</kpartgui>
