<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<context_menu
      label="Toolbar"
      layout="topleft"
      name="Toolbars Popup"
      visible="false">
  <menu_item_call label="Remove this button"
                  layout="topleft"
                  invisibility_control="LockToolbars"
                  name="Remove button">
    <menu_item_call.on_click function="Toolbars.RemoveSelectedCommand" />
  </menu_item_call>
  <menu_item_separator layout="topleft" invisibility_control="LockToolbars" />
  <menu_item_call label="Toolbar buttons..."
                  layout="topleft"
                  name="Choose Buttons">
    <menu_item_call.on_click function="Floater.Show"
                             parameter="toybox" />
  </menu_item_call>
  <menu_item_separator layout="topleft" />
  <menu_item_check label="Top Aligned"
                   layout="topleft"
                   name="top_aligned">
    <on_click function="Toolbars.SetAlignment"
              parameter="top" />
    <on_check function="Toolbars.CheckAlignment"
              parameter="top" />
  </menu_item_check>
  <menu_item_check label="Center Aligned"
                   layout="topleft"
                   name="center_aligned">
    <on_click function="Toolbars.SetAlignment"
              parameter="center" />
    <on_check function="Toolbars.CheckAlignment"
              parameter="center" />
  </menu_item_check>
  <menu_item_check label="Bottom Aligned"
                   layout="topleft"
                   name="bottom_aligned">
    <on_click function="Toolbars.SetAlignment"
              parameter="bottom" />
    <on_check function="Toolbars.CheckAlignment"
              parameter="bottom" />
  </menu_item_check>
  <menu_item_separator layout="topleft" />
  <menu_item_check label="Icons and labels"
                   layout="topleft"
                   name="icons_with_text">
    <on_click function="Toolbars.EnableSetting"
              parameter="icons_with_text" />
    <on_check function="Toolbars.CheckSetting"
              parameter="icons_with_text" />
  </menu_item_check>
  <menu_item_check label="Icons only"
                   layout="topleft"
                   name="icons_only">
    <on_click function="Toolbars.EnableSetting"
              parameter="icons_only" />
    <on_check function="Toolbars.CheckSetting"
              parameter="icons_only" />
  </menu_item_check>
  <menu_item_check label="Labels only"
                   layout="topleft"
                   name="text_only">
    <on_click function="Toolbars.EnableSetting"
              parameter="text_only" />
    <on_check function="Toolbars.CheckSetting"
              parameter="text_only" />
  </menu_item_check>
  <menu_item_separator layout="topleft" />
  <menu_item_check label="Locked"
                   layout="topleft"
                   name="toolbars_locked">
    <on_check control="LockToolbars" />
    <on_click function="ToggleControl"
              parameter="LockToolbars" />
  </menu_item_check>
</context_menu>
