<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<gui name="kmess" version="12">
  <MenuBar>
    <Menu name="file" noMerge="1" >
      <text context="@title:menu">&amp;Connect</text>
      <Action name="connect" />
      <Action name="disconnect" />
      <Separator/>
      <Action name="status" />
      <Action name="showProfile" />
      <Separator/>
      <Action name="close" />
      <Action name="quit" />
    </Menu>
    <Menu name="view" >
      <text context="@title:menu">&amp;View</text>
      <Action name="pictureSizes" />
      <Action name="viewModes" />
      <Separator/>
      <Action name="showAllowed" />
      <Action name="showRemoved" />
      <Action name="showOffline" />
      <Action name="showEmpty" />
      <Separator/>
      <Action name="showSearch" />
      <Action name="showHistoryBox" />
      <Action name="showMenuBar" />
      <Action name="showStatusBar" />
      <Separator/>
      <Action name="showTransfers" />
      <Action name="showNetwork" />
    </Menu>
    <Menu name="settings" noMerge="1" >
      <text context="@title:menu">&amp;Actions</text>
      <Action name="newContact" />
      <Action name="newGroup" />
      <Separator/>
      <Action name="chatHistory" />
      <Action name="contextMenu" />
      <Separator/>
      <Action name="newAccount" />
      <Action name="exportList" />
      <Separator/>
      <Action name="options_configure_keybinding" />
      <Action name="options_configure_toolbars" />
      <Action name="settingsAccount" />
      <Action name="settingsGlobal" />
    </Menu>
    <Menu name="help">
      <Action name="likeBackSendComment" />
      <Action name="likeBackShowIcons" />
    </Menu>
  </MenuBar>
  <State name="connected">
    <enable>
      <Action name="disconnect" />
      <Action name="status" />
      <Action name="showProfile" />
      <Action name="showAllowed" />
      <Action name="showRemoved" />
      <Action name="showOffline" />
      <Action name="showEmpty" />
      <Action name="chatHistory" />
      <Action name="showHistoryBox" />
      <Action name="pictureSizes" />
      <Action name="viewModes" />
      <Action name="newContact" />
      <Action name="newGroup" />
      <Action name="showSearch" />
      <Action name="likeBackSendComment" />
      <Action name="likeBackShowIcons" />
    </enable>
    <disable>
      <Action name="connect" />
    </disable>
  </State>
  <State name="disconnected">
    <enable>
      <Action name="connect" />
      <Action name="likeBackSendComment" />
      <Action name="likeBackShowIcons" />
      <Action name="chatHistory" />
    </enable>
    <disable>
      <Action name="disconnect" />
      <Action name="status" />
      <Action name="showProfile" />
      <Action name="showAllowed" />
      <Action name="showRemoved" />
      <Action name="showOffline" />
      <Action name="showEmpty" />
      <Action name="pictureSizes" />
      <Action name="viewModes" />
      <Action name="newContact" />
      <Action name="newGroup" />
      <Action name="showHistoryBox" />
      <Action name="showSearch" />
    </disable>
  </State>
</gui>
