<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>

  <menu id="menubar">
    <submenu>
      <attribute name="label">File</attribute>
      <section>
        <item>
          <attribute name="label">Open Coordinates...</attribute>
          <attribute name="action">app.open_coordinates_action</attribute>
        </item>
        <item>
          <attribute name="label">Auto Open MTZ...</attribute>
          <attribute name="action">app.auto_open_mtz_action</attribute>
        </item>
        <item>
          <attribute name="label">Open MTZ, mmCIF, fcf or phs...</attribute>
          <attribute name="action">app.open_dataset_action</attribute>
        </item>
        <item>
          <attribute name="label">Open Map...</attribute>
          <attribute name="action">app.open_map_action</attribute>
        </item>
        <item>
          <attribute name="label">Import CIF dictionary...</attribute>
          <attribute name="action">app.import_cif_dictionary_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Get Monomer...</attribute>
          <attribute name="action">app.get_monomer_action</attribute>
        </item>
        <item>
          <attribute name="label">Search Monomer Library...</attribute>
          <attribute name="action">app.search_monomer_library_action</attribute>
        </item>
        <item>
          <attribute name="label">Fetch PDB using Accession Code...</attribute>
          <attribute name="action">app.show_accession_code_fetch_frame</attribute>
          <attribute name="target">oca</attribute>
        </item>
        <item>
          <attribute name="label">Fetch PDB &amp; Map using EDS...</attribute>
          <attribute name="action">app.show_accession_code_fetch_frame</attribute>
          <attribute name="target">eds</attribute>
        </item>
        <item>
          <attribute name="label">Fetch PDB and Map Using PDB-REDO...</attribute>
          <attribute name="action">app.show_accession_code_fetch_frame</attribute>
          <attribute name="target">pdb-redo</attribute>
        </item>
        <item>
         <attribute name="label">Fetch Corresponding AlphaFold Model &amp; Superpose</attribute>
          <attribute name="action">app.fetch_and_superpose_alphafold_models_action</attribute>
        </item>
         <item>
         <attribute name="label">Fetch AlphaFold Model using Uniprot ID...</attribute>
          <attribute name="action">app.show_accession_code_fetch_frame</attribute>
          <attribute name="target">uniprot-id</attribute>
        </item>
        <item>
          <attribute name="label">Fetch PDBe Ligand Description</attribute>
          <attribute name="action">app.fetch_pdbe_ligand_description_action</attribute>
        </item>
        <item>
          <attribute name="label">Fetch COD Entry...</attribute>
          <attribute name="action">app.show_accession_code_fetch_frame</attribute>
          <attribute name="target">cod</attribute>
        </item>
        <item>
          <attribute name="label">Fetch Map from EMDB...</attribute>
          <attribute name="action">app.fetch_map_from_emdb_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Save Coordinates...</attribute>
          <attribute name="action">app.save_coordinates_action</attribute>
        </item>
        <item>
          <attribute name="label">Save Symmetry Coordinates...</attribute>
          <attribute name="action">app.save_symmetry_coordinates_action</attribute>
        </item>
        <item>
          <attribute name="label">Save State...</attribute>
          <attribute name="action">app.save_state_action</attribute>
        </item>
        <item>
          <attribute name="label">Recover Session...</attribute>
          <attribute name="action">app.recover_session_action</attribute>
        </item>
        <item>
          <attribute name="label">Export Map...</attribute>
          <attribute name="action">app.file_export_map_action</attribute>
        </item>
        <item>
          <attribute name="label">Export Map Fragment...</attribute>
          <attribute name="action">app.file_export_map_fragment_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Delete Molecules and Maps...</attribute>
          <attribute name="action">app.close_molecule_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Curlew...</attribute>
          <attribute name="action">app.curlew_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Exit</attribute>
          <attribute name="action">app.exit_action</attribute>
        </item>
      </section>
    </submenu>
    <submenu>
      <attribute name="label">Edit</attribute>
      <section>
        <item>
          <attribute name="label">Add Header Link...</attribute>
          <attribute name="action">app.make_link_action</attribute> 
        </item>
        <item>
          <attribute name="label">Change Chain IDs...</attribute>
          <attribute name="action">app.change_chain_ids_action</attribute>
        </item>
        <item>
          <attribute name="label">Copy Molecule...</attribute>
          <attribute name="action">app.copy_molecule_action</attribute>
        </item>
        <item>
          <attribute name="label">Copy Fragment...</attribute>
          <attribute name="action">app.copy_molecule_fragment_action</attribute>
        </item>
        <item>
          <attribute name="label">Exchange Chain-IDs for Seg-IDs</attribute>
          <attribute name="action">app.exchange_chain_ids_for_seg_ids_action</attribute>
        </item>
        <item>
          <attribute name="label">Fix Nomenclature Errors...</attribute>
          <attribute name="action">app.fix_nomenclature_errors_action</attribute>
        </item>
        <item>
          <attribute name="label">Invert this Chiral Centre</attribute>
          <attribute name="action">app.invert_this_chiral_centre_action</attribute>
        </item>
        <item>
          <attribute name="label">Merge Molecules...</attribute>
          <attribute name="action">app.merge_molecules_action</attribute>
        </item>
        <item>
          <attribute name="label">Merge Water Chains...</attribute>
          <attribute name="action">app.merge_solvent_chains_action</attribute>
        </item>
        <item>
          <attribute name="label">Move Molecule Here...</attribute>
          <attribute name="action">app.move_molecule_here_action</attribute>
        </item>
        <item>
          <attribute name="label">Mutate Residue Range...</attribute>
          <attribute name="action">app.mutate_molecule_action</attribute>
        </item>
        <item>
          <attribute name="label">Replace Fragment...</attribute>
          <attribute name="action">app.edit_replace_fragment_action</attribute>
        </item>
        <item>
          <attribute name="label">Replace Residue...</attribute>
          <attribute name="action">app.edit_replace_residue_action</attribute>
        </item>
        <item>
          <attribute name="label">Renumber Residues...</attribute>
          <attribute name="action">app.renumber_residues_action</attribute>
        </item>
        <item>
          <attribute name="label">Renumber Waters</attribute>
          <attribute name="action">app.renumber_waters_action</attribute>
        </item>
        <item>
          <attribute name="label">Residue Info</attribute>
          <attribute name="action">app.residue_info_action</attribute>
        </item>
        <item>
          <attribute name="label">Restraints...</attribute>
          <attribute name="action">app.edit_restraints_action</attribute>
        </item>
        <item>
          <attribute name="label">Undo Molecule Chooser...</attribute>
          <attribute name="action">app.undo_molecule_chooser_action</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label">Preferences...</attribute>
          <attribute name="action">app.show_preferences_action</attribute>
        </item>
        <submenu>
          <attribute name="label">Settings...</attribute>

            <section>
              <submenu>
                <attribute name="label">Rotate/Translate Zone Mode...</attribute>
                <section>
                  <item>
                    <attribute name="label">Rotate about Zone Centre</attribute>
                  </item>
                  <item>
                    <attribute name="label">Rotate about Second-clicked Atom</attribute>
                  </item>
                </section>
              </submenu>
              <item>
                <attribute name="label">Set Spin Speed...</attribute>
              </item>
              <item>
                <attribute name="label">Nudge Centre...</attribute>
              </item>
              <item>
                <attribute name="label">All Molecules use "Near Chains" Symmetry</attribute>
              </item>
              <item>
                <attribute name="label">Save Graphics Window Size and Position</attribute>
              </item>
              <item>
                <attribute name="label">Enable Quick-Save Checkpointing</attribute>
              </item>
            </section>

        </submenu>
      </section>
    </submenu>
    <submenu>
      <attribute name="label">Calculate</attribute>
      <section>
        <item>
          <attribute name="label">Align and Mutate...</attribute>
          <attribute name="action">app.align_and_mutate_action</attribute>
        </item>
        <submenu>
          <attribute name="label">Assign Sequence...</attribute>
          <item>
            <attribute name="label">1: Associate Sequence File...</attribute>
            <attribute name="action">app.associate_sequence_file_action</attribute>
          </item>
          <item>
            <attribute name="label">2: Assign Sequence</attribute>
            <attribute name="action">app.assign_sequence_action</attribute>
          </item>
        </submenu>
        <submenu>
          <attribute name="label">Fit Loop...</attribute>
          <item>
            <attribute name="label">Fit Loop by Database Search...</attribute>
            <attribute name="action">app.fit_loop_by_database_search</attribute>
          </item>
          <item>
            <attribute name="label">Fit Loop by Ramachandran Search...</attribute>
            <attribute name="action">app.fit_loop_by_ramachandran_search</attribute>
          </item>
        </submenu>
        <item>
          <attribute name="label">Hydrogen Bonds</attribute>
          <attribute name="action">app.calculate_hydrogen_bonds_action</attribute>
        </item>
        <item>
          <attribute name="label">Load Tutorial Model &amp; Data</attribute>
          <attribute name="action">app.load_tutorial_model_and_data_action</attribute>
        </item>
        <item>
          <attribute name="label">Ligand Builder...</attribute>
          <attribute name="action">app.ligand_builder_action</attribute>
        </item>
        <item>
          <attribute name="label">LSQ Superpose...</attribute>
          <attribute name="action">app.lsq_superpose_action</attribute>
        </item>

        <submenu>
          <attribute name="label">Map Tools...</attribute>
          <section>
            <item>
              <attribute name="label">Mask Map by Atom Selection...</attribute>
              <attribute name="action">app.mask_map_by_atom_selection_action</attribute>
            </item>
            <item>
              <attribute name="label">Copy Map...</attribute>
              <attribute name="action">app.copy_map_action</attribute>
            </item>
            <item>
              <attribute name="label">Make a Smoother Copy...</attribute>
              <attribute name="action">app.make_a_smoother_copy_of_a_map_action</attribute>
            </item>
            <item>
              <attribute name="action">app.make_a_very_smooth_copy_of_a_map_action</attribute>
              <attribute name="label">Make a Very Smooth Copy</attribute>
            </item>
            <item>
              <attribute name="label">Make a Difference Map...</attribute>
              <attribute name="action">app.make_a_difference_map_action</attribute>
            </item>
            <item>
              <attribute name="label">Transform Map by LSQ Model Fit...</attribute>
              <attribute name="action">app.transform_map_by_lsq_model_fit_action</attribute>
            </item>
            <item>
              <attribute name="label">Average Maps...</attribute>
              <attribute name="action">app.average_maps_action</attribute>
            </item>
            <item>
              <attribute name="label">Map Density Histogram [Placeholder]</attribute>
            </item>
            <item>
              <attribute name="label">Brighten Maps...</attribute>
              <attribute name="action">app.brighten_maps_action</attribute>
            </item>
            <item>
              <attribute name="label">Set Map is Difference Map...</attribute>
              <attribute name="action">app.set_map_is_difference_map_action</attribute>
            </item>
            <item>
              <attribute name="label">Another Contour Level</attribute>
              <attribute name="action">app.another_contour_level_action</attribute>
            </item>
            <item>
              <attribute name="label">Multi-Chicken...</attribute>
              <attribute name="action">app.multichicken_action</attribute>
            </item>
          </section>
        </submenu>

        <item>
          <attribute name="label">x-ray Map Sharpening/Blurring...</attribute>
          <attribute name="action">app.sharpen_blur_for_xray_action</attribute>
        </item>

        <!-- remove skeleton for now -->
        <!-- <item> -->
        <!--   <attribute name="label">Map Skeleton...</attribute> -->
        <!-- </item> -->

        <item>
          <attribute name="label">Residue → 2D</attribute>
          <attribute name="action">app.ligand_builder_residue_to_2d_action</attribute>
        </item>

        <item>
          <attribute name="label">Run Script...</attribute>
          <attribute name="action">app.run_script_action</attribute>
        </item>

        <submenu>
          <attribute name="label">Scripting...</attribute>
          <item>
            <attribute name="label">Python...</attribute>
            <attribute name="action">app.scripting_python_action</attribute>
          </item>
          <item>
            <attribute name="label">Scheme</attribute>
          </item>
        </submenu>

        <item>
          <attribute name="label">SSM Superpose...</attribute>
          <attribute name="action">app.ssm_superposition_action</attribute>
        </item>
        <item>
          <attribute name="label">Superpose Ligands...</attribute>
          <attribute name="action">app.superpose_ligands_action</attribute>
        </item>
        <item>
          <attribute name="label">Updating Maps...</attribute>
          <attribute name="action">app.calculate_updating_maps_action</attribute>
        </item>
        <item>
          <attribute name="label">Use ClustalW for Alignment then Mutate</attribute>
          <attribute name="action">app.use_clustalw_for_alignment_then_mutate_action</attribute>
        </item>

      </section>
    </submenu>

    <submenu>
      <attribute name="label">Modelling</attribute>
        <item>
          <attribute name="label">Add An Atom</attribute>
          <attribute name="action">app.add_an_atom_action</attribute>
        </item>
        <item>
          <attribute name="label">Add Hydrogen Atoms</attribute>
          <attribute name="action">app.add_hydrogen_atoms_action</attribute>
        </item>
        <item>
          <attribute name="label">Add Hydrogen Atoms Using REFMAC</attribute>
          <attribute name="action">app.add_hydrogen_atoms_using_refmac_action</attribute>
        </item>
        <item>
          <attribute name="label">Add Other Solvent Molecules...</attribute>
          <attribute name="action">app.add_other_solvent_molecules_action</attribute>
        </item>
        <item>
          <attribute name="label">Add OXT to residue...</attribute>
          <attribute name="action">app.add_OXT_to_residue_action</attribute>
        </item>
        <item>
          <attribute name="label">Arrange Waters Around Protein</attribute>
          <attribute name="action">app.arrange_waters_around_protein_action</attribute>
        </item>
        <item>
          <attribute name="label">Assign (Force) HETATMs for this Residue</attribute>
          <attribute name="action">app.assign_hetatms_for_this_residue_action</attribute>
        </item>
        <item>
          <attribute name="label">Assign HETATMs to Molecule...</attribute>
          <attribute name="action">app.assign_hetatoms_to_molecule_action</attribute>
        </item>
        <item>
          <attribute name="label">Backrub Rotamers for Chain</attribute>
          <attribute name="action">app.backrub_rotamers_for_chain_action</attribute>
        </item>
        <item>
          <attribute name="label">cis ↔ trans</attribute>
          <attribute name="action">app.cis_trans_convert_action</attribute>
        </item>
        <item>
          <attribute name="label">DNA/RNA Models...</attribute>
          <attribute name="action">app.dna_rna_models_action</attribute>
        </item>
        <item>
          <attribute name="label">Find Ligands...</attribute>
          <attribute name="action">app.find_ligands_action</attribute>
        </item>
        <item>
          <attribute name="label">Find Waters...</attribute>
          <attribute name="action">app.find_waters_action</attribute>
        </item>
        <submenu>
          <attribute name="label">Find Secondary Structure in Map...</attribute>
          <item>
            <attribute name="label">Find Helices</attribute>
            <attribute name="action">app.find_helices_in_map_action</attribute>
          </item>
          <item>
            <attribute name="label">Find Strands</attribute>
            <attribute name="action">app.find_strands_in_map_action</attribute>
          </item>
        </submenu>
        <item>
          <attribute name="label">Fill Partial Residues</attribute>
          <attribute name="action">app.fill_partial_residues_action</attribute>
        </item>

        <submenu>
          <attribute name="label">NCS Model Tools...</attribute>
          <item>
            <attribute name="label">Copy NCS Residue Range</attribute>
            <attribute name="action">app.copy_ncs_residue_range_action</attribute>
          </item>
          <item>
            <attribute name="label">Copy NCS Chain...</attribute>
            <attribute name="action">app.copy_ncs_chain_action</attribute>
          </item>
          <!-- <item> -->
          <!--   <attribute name="label">Copy NCS Ghosts by Residue Range...</attribute> -->
          <!--   <attribute name="action">app.copy_ncs_ghosts_by_residue_range_action</attribute> -->
          <!-- </item> -->
          <item>
            <attribute name="label">NCS Jumping...</attribute>
            <attribute name="action">app.ncs_jumping_action</attribute>
          </item>
          <item>
            <attribute name="label">NCS Ligands...</attribute>
            <attribute name="action">app.ncs_ligands_action</attribute>
          </item>
        </submenu>
        <item>
          <attribute name="label">Phosphorylate This Residue</attribute>
          <attribute name="action">app.phosphorylate_this_residue_action</attribute>
        </item>
        <item>
          <attribute name="label">Place Helix Here</attribute>
          <attribute name="action">app.place_helix_here_action</attribute>
        </item>
        <item>
          <attribute name="label">Rebuild Fragment using DBLoop (Small)</attribute>
          <attribute name="action">app.rebuild_fragment_using_dbloop_action</attribute>
          <attribute name="target">small</attribute>
        </item>
        <item>
          <attribute name="label">Rebuild Fragment using DBLoop (Bigger)</attribute>
          <attribute name="action">app.rebuild_fragment_using_dbloop_action</attribute>
          <attribute name="target">bigger</attribute>
        </item>
        <item>
          <attribute name="label">Replace Residue...</attribute>
          <attribute name="action">app.replace_residue_action</attribute>
        </item>
        <item>
          <attribute name="label">Reverse Chain Direction</attribute>
          <attribute name="action">app.reverse_chain_direction_action</attribute>
        </item>
        <item>
          <attribute name="label">Rigid-Body Fit Residue Ranges</attribute>
          <attribute name="action">app.rigid_body_fit_residue_ranges_action</attribute>
        </item>
        <item>
          <attribute name="label">Rigid-Body Fit Molecule</attribute>
          <attribute name="action">app.rigid_body_fit_molecule_action</attribute>
        </item>
        <item>
          <attribute name="label">Superpose Ligand</attribute>
          <attribute name="action">app.superpose_ligands_action</attribute>
        </item>
        <item>
          <attribute name="label">Symm Shift Reference Chain Here</attribute>
          <attribute name="action">app.symm_shift_reference_chain_here_action</attribute>
        </item>
        <item>
          <attribute name="label">What's This?</attribute>
          <attribute name="action">app.whats_this_action</attribute>
        </item>
    </submenu>

    <submenu>
      <attribute name="label">Draw</attribute>
      <submenu>
        <attribute name="label">View</attribute>
        <section>

          <!-- <item> -->
          <!--   <attribute name="label">Background Colour...</attribute> -->
          <!--   <attribute name="action">app.background_colour_action</attribute> -->
          <!-- </item> -->
 
          <submenu>
            <attribute name="label">Background Colour...</attribute>
            <item>
              <attribute name="label">Black</attribute>
              <attribute name="action">app.background_black_action</attribute>
            </item>
            <item>
              <attribute name="label">Nearly Black</attribute>
              <attribute name="action">app.background_nearly_black_action</attribute>
            </item>
            <item>
              <attribute name="label">Dark Grey</attribute>
              <attribute name="action">app.background_dark_grey_action</attribute>
            </item>
            <item>
              <attribute name="label">Semi-Dark Grey</attribute>
              <attribute name="action">app.background_semi_dark_grey_action</attribute>
            </item>
            <item>
              <attribute name="label">Light Grey</attribute>
              <attribute name="action">app.background_light_grey_action</attribute>
            </item>
            <item>
              <attribute name="label">White</attribute>
              <attribute name="action">app.background_white_action</attribute>
            </item>
          </submenu>
         

          <item>
            <attribute name="label">Display Only Active</attribute>
            <attribute name="action">app.display_only_active_action</attribute>
          </item>
          <item>
            <attribute name="label">Frames/Sec...</attribute>
            <attribute name="action">app.toggle_display_frames_per_second_action</attribute>
          </item>
          <item>
            <attribute name="label">Fullscreen</attribute>
            <attribute name="action">app.fullscreen_action</attribute>
          </item>
          <item>
            <attribute name="label">Generic Display Objects...</attribute>
            <attribute name="action">app.generic_objects_action</attribute>
          </item>
          <section>
            <submenu>
              <attribute name="label">Projection...</attribute>
              <item>
                <attribute name="label">Orthographic</attribute>
                <attribute name="action">app.orthographic_view_action</attribute>
              </item>
              <item>
                <attribute name="label">Perspective</attribute>
                <attribute name="action">app.perspective_view_action</attribute>
              </item>
            </submenu>
          </section>
          <item>
            <attribute name="label">Screenshot</attribute>
            <attribute name="action">app.screenshot_action</attribute>
          </item>
          <item>
            <attribute name="label">Spin View</attribute>
            <attribute name="action">app.spin_view_action</attribute>
          </item>
          <item>
            <attribute name="label">Rock View</attribute>
            <attribute name="action">app.rock_view_action</attribute>
          </item>
          <item>
            <attribute name="label">Undo Last Navigation</attribute>
            <attribute name="action">app.undo_last_navigation_action</attribute>
          </item>
          <item>
            <attribute name="label">Undo Symmetry View</attribute>
            <attribute name="action">app.undo_symmetry_view_action</attribute>
          </item>
        </section>
      </submenu>

      <submenu>
        <attribute name="label">Molecule</attribute>
        <section>
          <item>
            <attribute name="label">Bond Colours...</attribute>
            <attribute name="action">app.bond_colours_action</attribute>
          </item>
          <item>
            <attribute name="label">Bond Parameters...</attribute>
            <attribute name="action">app.bond_parameters_action</attribute>
          </item>

          <submenu>
            <attribute name="label">Bond Smoothness</attribute>
            <item>
              <attribute name="label">Default</attribute>
              <attribute name="action">app.bond_smoothness_action</attribute>
              <attribute name="target">1</attribute>
            </item>
            <item>
              <attribute name="label">Smooth</attribute>
              <attribute name="action">app.bond_smoothness_action</attribute>
              <attribute name="target">2</attribute>
            </item>
            <item>
              <attribute name="label">Fine</attribute>
              <attribute name="action">app.bond_smoothness_action</attribute>
              <attribute name="target">3</attribute>
            </item>
          </submenu>

          <submenu>
            <attribute name="label">Carbon Colours</attribute>
            <item>
              <attribute name="label">Grey Carbon Colours</attribute>
              <attribute name="action">app.grey_carbon_colours_action</attribute>
            </item>
            <item>
              <attribute name="label">Coloured Carbon Colours</attribute>
              <attribute name="action">app.coloured_carbon_colours_action</attribute>
            </item>
          </submenu>

          <!-- this does not belong here - move this configuration into preferences -->
          <!-- <item> -->
          <!--   <attribute name="label">Centre Atom Label...</attribute> -->
          <!--   <attribute name="action">app.on_draw_cente__action</attribute> -->
          <!-- </item> -->
          <item>
            <attribute name="label">Cell &amp; Symmetry...</attribute>
            <attribute name="action">app.draw_cell_and_symmetry_action</attribute>
          </item>
          <!-- this does not belong here - move this configuration into preferences -->
          <!-- <item> -->
          <!--   <attribute name="label">Central Atom Label...</attribute> -->
          <!--   <attribute name="action">app.draw_central_atom_label_action</attribute> -->
          <!-- </item> -->
          <item>
            <!-- this needs an atom selection overlay -->
            <attribute name="label">Electrostatic Surface</attribute>
            <attribute name="action">app.electrostatic_surface_action</attribute>
          </item>
          <item>
            <attribute name="label">Gaussian Surface...</attribute>
            <attribute name="action">app.gaussian_surface_action</attribute>
          </item>
          <item>
            <attribute name="label">Go To Atom...</attribute>
            <attribute name="action">app.go_to_atom_action</attribute>
          </item>
          <item>
            <attribute name="label">Label Atoms in Residue</attribute>
            <attribute name="action">app.label_atoms_in_residue_action</attribute>
          </item>
          <item>
            <attribute name="label">Label CAs</attribute>
            <attribute name="action">app.label_CA_atoms_action</attribute>
          </item>
          <item>
            <attribute name="label">Label Neighbours</attribute>
            <attribute name="action">app.label_neighbours_action</attribute>
          </item>
          <item>
            <attribute name="label">Map Parameters...</attribute>
            <attribute name="action">app.map_parameters_action</attribute>
          </item>
          <item>
            <attribute name="label">Molecular Surface</attribute>
            <attribute name="action">app.molecular_surface_action</attribute>
          </item>
          <item>
            <attribute name="label">NCS Ghost Control...</attribute>
            <attribute name="action">app.ghost_control_action</attribute>
          </item>
        </section>

        <section>
          <item>
            <attribute name="label">Residue Type Selection</attribute>
            <attribute name="action">app.residue_type_selection_action</attribute>
          </item>
          <item>
            <attribute name="label">Residues With Alt Confs...</attribute>
            <attribute name="action">app.residues_with_alt_confs_action</attribute>
          </item>
          <item>
            <attribute name="label">Residues With cis-Peptides...</attribute>
            <attribute name="action">app.residues_with_cis_peptides_action</attribute>
          </item>
          <item>
            <attribute name="label">Residues With Missing Atoms...</attribute>
            <attribute name="action">app.residues_with_missing_atoms_action</attribute>
          </item>
        </section>
        <section>
          <item>
            <attribute name="label">Ribbons: By Chain</attribute>
            <attribute name="action">app.ribbons_colour_by_chain_action</attribute>
          </item>
          <item>
            <attribute name="label">Ribbons: Rainbow</attribute>
            <attribute name="action">app.ribbons_colour_rainbow_action</attribute>
          </item>
          <item>
            <attribute name="label">Ribbons: Sec. Struct.</attribute>
            <attribute name="action">app.ribbons_colour_by_secondary_structure_action</attribute>
          </item>
        </section>
        <section>
          <item>
            <attribute name="label">Sequence View</attribute>
            <attribute name="action">app.sequence_view_action</attribute>
          </item>
          <!-- reactivate this one day hopefully -->
          <!-- <item> -->
          <!--   <attribute name="label">Stereo...</attribute> -->
          <!-- </item> -->
        </section>
      </submenu>

        <item>
          <attribute name="label">Shader Settings...</attribute>
          <attribute name="action">app.show_shader_preferences_action</attribute>
        </item>

        <submenu>
          <attribute name="label">Scene Presets...</attribute>
          <item>
            <attribute name="label">Model-Building Mode</attribute>
            <attribute name="action">app.scene_preset_model_building_action</attribute>
          </item>
          <item>
            <attribute name="label">Figure-Making Mode</attribute>
            <attribute name="action">app.scene_preset_figure_making_action</attribute>
          </item>
        </submenu>

    </submenu>

    <submenu>
      <attribute name="label">Measures</attribute>
      <section>
        <item>
          <attribute name="label">Clear Atom Labels</attribute>
          <attribute name="action">app.clear_atom_labels_action</attribute>
        </item>
        <item>
          <attribute name="label">Distances &amp; Angles...</attribute>
          <attribute name="action">app.distances_and_angles_action</attribute>
        </item>
        <item>
          <attribute name="label">Environment Distances...</attribute>
          <attribute name="action">app.environment_distances_action</attribute>
        </item>
        <item>
          <attribute name="label">Residue Info...</attribute>
          <attribute name="action">app.residue_info_action</attribute>
        </item>
        <!-- reactivate this one day -->
        <!-- <item> -->
        <!--   <attribute name="label">Plane Distances...</attribute> -->
        <!--   <attribute name="action">app.plane_distances_action</attribute> -->
        <!-- </item> -->
        <item>
          <attribute name="label">Pointer Distances...</attribute>
          <attribute name="action">app.pointer_distances_action</attribute>
        </item>
      </section>
    </submenu>

    <submenu>
      <attribute name="label">Validate</attribute>
      <section>
        <item>
          <attribute name="label">Validation graphs</attribute>
          <attribute name="action">app.show_validation_graphs_dialog</attribute>
        </item>
        <item>
          <attribute name="label">Ramachandran Plot</attribute>
          <attribute name="action">app.ramachandran_plot_action</attribute>
        </item>
        <item>
          <attribute name="label">Alignment vs Reference PIR</attribute>
          <attribute name="action">app.alignment_vs_pir_action</attribute>
        </item>
        <item>
          <attribute name="label">Atoms with Zero Occupancies...</attribute>
          <attribute name="action">app.atoms_with_zero_occupancies_action</attribute>
        </item>
        <item>
          <attribute name="label">Atom Overlaps</attribute>
          <attribute name="action">app.atoms_overlaps_action</attribute>
        </item>
        <item>
          <attribute name="label">Atom-Atom Contact Dots (Molprobity)</attribute>
          <attribute name="action">app.all_atom_contact_dots_molprobity_action</attribute>
        </item>
        <item>
          <attribute name="label">Check/Delete Waters...</attribute>
          <attribute name="action">app.check_delete_waters_action</attribute>
        </item>
        <item>
          <attribute name="label">Difference Map Peaks...</attribute>
          <attribute name="action">app.difference_map_peaks_action</attribute>
        </item>
        <item>
          <attribute name="label">Highly Coordinated Waters</attribute>
          <attribute name="action">app.highly_coordinates_waters_action</attribute>
        </item>
        <!-- restore this one day -->
        <!-- <item> -->
        <!--   <attribute name="label">Kleywegt Plot...</attribute> -->
        <!--   <attribute name="action">app.on_undo_symmetry_view1_action</attribute> -->
        <!-- </item> -->
        <item>
          <attribute name="label">Overlaps, Peptides, CBeta, Rama &amp; Rota Outliers</attribute>
          <attribute name="action">app.overlaps_peptides_cbeta_ramas_and_rotas_action</attribute>
        </item>
        <item>
          <attribute name="label">Pepflips from Difference Map...</attribute>
          <attribute name="action">app.pepflips_from_difference_map_action</attribute>
        </item>
        <item>
          <attribute name="label">Refmac Log Validation</attribute>
          <attribute name="action">app.refmac_log_validation_action</attribute>
        </item>
        <item>
          <attribute name="label">Unmodelled blobs...</attribute>
          <attribute name="action">app.unmodelled_blobs_action</attribute>
        </item>
        <item>
          <attribute name="label">Validation Outliers</attribute>
          <attribute name="action">app.validation_outliers_action</attribute>
        </item>
      </section>
    </submenu>
    <submenu>
      <attribute name="label">About</attribute>
      <section>
        <item>
          <attribute name="label">About Coot...</attribute>
          <attribute name="action">app.about_coot_action</attribute>
        </item>
        <item>
          <attribute name="label">Shortcuts...</attribute>
          <attribute name="action">app.coot_shortcuts_action</attribute>
        </item>
        <item>
          <attribute name="label">Header/Remarks Browser...</attribute>
          <attribute name="action">app.remarks_browser_action</attribute>
        </item>
      </section>
    </submenu>
  </menu>

  <menu id="refine-menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">RSR Sphere</attribute>
        <attribute name="action">app.refine_sphere</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Big Sphere</attribute>
        <attribute name="action">app.refine_sphere_big</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Tandem ± 3</attribute>
        <attribute name="action">app.refine_tandem_3</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Tandem ± 5</attribute>
        <attribute name="action">app.refine_tandem_5</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Single Residue</attribute>
        <attribute name="action">app.refine_single_residue</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Chain</attribute>
        <attribute name="action">app.refine_chain</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR All Atoms</attribute>
        <attribute name="action">app.refine_all_atoms</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Range Refine</attribute>
        <attribute name="action">app.refine_range</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Repeat Range Refine</attribute>
        <attribute name="action">app.repeat_refine_range</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">RSR Fragment</attribute>
        <attribute name="action">app.refine_fragment</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Regularize Sphere</attribute>
        <attribute name="action">app.refine_regularize_sphere</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Regularize Tandem ± 3</attribute>
        <attribute name="action">app.refine_regularize_tandem_3</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Regularize Single Residue</attribute>
        <attribute name="action">app.refine_regularize_single_residue</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Regularize Fragment</attribute>
        <attribute name="action">app.refine_regularize_fragment</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Regularize Chain</attribute>
        <attribute name="action">app.refine_regularize_chain</attribute>
      </item>
    </section>
  </menu>
  <menu id="modules-menu">
    <section>
      <item>
        <attribute name="label">CCP4</attribute>
        <attribute name="action">app.add_ccp4_module_action</attribute>
      </item>
      <!-- remove the carbohydrate modules for now -->
      <!-- <item> -->
      <!--   <attribute name="label">Carbohydrate</attribute> -->
      <!--   <attribute name="action">app.add_carbohydrate_module_action</attribute> -->
      <!-- </item> -->
      <item>
        <attribute name="label">Cryo-EM</attribute>
        <attribute name="action">app.add_cryo_em_module_action</attribute>
      </item>
      <item>
        <attribute name="label">HOLE</attribute>
        <attribute name="action">app.add_HOLE_module_action</attribute>
      </item>
      <item>
        <attribute name="label">Ligand</attribute>
        <attribute name="action">app.add_ligand_module_action</attribute>
      </item>
      <item>
        <attribute name="label">ProSMART</attribute>
        <attribute name="action">app.add_prosmart_module_action</attribute>
      </item>
      <item>
        <attribute name="label">RCrane</attribute>
        <attribute name="action">app.add_rcrane_module_action</attribute>
      </item>
      <item>
        <attribute name="label">Restraints</attribute>
        <attribute name="action">app.add_restraints_module_action</attribute>
      </item>
      <item>
        <attribute name="label">Refine</attribute>
        <attribute name="action">app.add_refine_module_action</attribute>
      </item>
      <item>
        <attribute name="label">SHELX</attribute>
        <attribute name="action">app.add_shelx_module_action</attribute>
      </item>
      <item>
        <attribute name="label">Views</attribute>
        <attribute name="action">app.add_views_module_action</attribute>
      </item>
    </section>
  </menu>

  <menu id="rigid-body-fit-menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">Residue</attribute>
        <attribute name="action">app.rigid_body_fit_residue_action</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue Range</attribute>
        <attribute name="action">app.rigid_body_fit_residue_range_action</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Fragment</attribute>
        <attribute name="action">app.rigid_body_fit_fragment_action</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Chain</attribute>
        <attribute name="action">app.rigid_body_fit_chain_action</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Molecule</attribute>
        <attribute name="action">app.rigid_body_fit_molecule_action</attribute>
      </item>
    </section>
  </menu>

  <menu id="fixed-atoms-menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">Fix Atom</attribute>
        <attribute name="action">app.fix_atom</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Unfix Atom</attribute>
        <attribute name="action">app.unfix_atom</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Unfix All Atoms</attribute>
        <attribute name="action">app.unfix_all_atoms</attribute>
      </item>
    </section>
  </menu>

  <menu id="rotate-translate-menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">Atom</attribute>
        <attribute name="action">app.rotate_translate_atom</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue</attribute>
        <attribute name="action">app.rotate_translate_residue</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue Range</attribute>
        <attribute name="action">app.rotate_translate_residue_range</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Chain</attribute>
        <attribute name="action">app.rotate_translate_chain</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Molecule</attribute>
        <attribute name="action">app.rotate_translate_molecule</attribute>
      </item>
    </section>
  </menu>

  <menu id="delete-item-menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">Atom</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">atom</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Water</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">water</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Side-chain</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">side-chain</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Side-chains in Residue Range</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">side-chain-residue-range</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Side-chains in Chain</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">side-chains-in-chain</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Hydrogen Atoms in Residue</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">hydrogen-atoms-in-residue</attribute> <!-- this target was changed -->
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">residue</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue Atoms with Alt-conf</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">residue-atoms-with-alt-conf</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Residue Range</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">residue-range</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Chain</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">chain</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Hydrogen Atoms in Molecule</attribute>
        <attribute name="action">app.delete_item</attribute>
        <attribute name="target">hdyrogen-atoms-in-molecule</attribute>
      </item>
   </section>
  </menu>

  <menu id="mutate-nucleic-acid-menu">
    <section>
      <item>
        <attribute name="label" translatable="no">Adenine (A)</attribute>
        <attribute name="action">app.mutate_base_to_type</attribute>
        <attribute name="target">A</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">Guanine (G)</attribute>
        <attribute name="action">app.mutate_base_to_type</attribute>
        <attribute name="target">G</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">Cytosine (C)</attribute>
        <attribute name="action">app.mutate_base_to_type</attribute>
        <attribute name="target">C</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">Thymine (T)</attribute>
        <attribute name="action">app.mutate_base_to_type</attribute>
        <attribute name="target">T</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">Uracil (U)</attribute>
        <attribute name="action">app.mutate_base_to_type</attribute>
        <attribute name="target">U</attribute>
      </item>
    </section>
  </menu>

  <menu id="mutate-protein-menu">
    <section>
      <item>
        <attribute name="label" translatable="no">ALA (A)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">ALA</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">ARG (R)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">ARG</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">ASN (N)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">ASN</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">ASP (D)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">ASP</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">CYS (C)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">CYS</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">GLN (Q)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">GLN</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">GLU (E)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">GLU</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">GLY (G)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">GLY</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">HIS (H)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">HIS</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">ILE (I)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">ILE</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">LEU (L)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">LEU</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">LYS (K)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">LYS</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">MET (M)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">MET</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">MSE</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">MSE</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">PHE (F)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">PHE</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">PRO (P)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">PRO</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">SER (S)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">SER</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">THR (T)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">THR</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">TRP (W)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">TRP</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">TYR (Y)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">TYR</attribute>
      </item>
      <item>
        <attribute name="label" translatable="no">VAL (V)</attribute>
        <attribute name="action">app.mutate_to_type</attribute>
        <attribute name="target">VAL</attribute>
      </item>
    </section>
  </menu>

  <object class="GtkWindow" id="about_window">
    <property name="title" translatable="yes">About...</property>
    <child>
      <object class="GtkBox" id="vbox14">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow1">
            <property name="width-request">220</property>
            <property name="height-request">174</property>
            <property name="hscrollbar-policy">never</property>
            <child>
              <object class="GtkTextView" id="about_window_text">
                <property name="can-focus">1</property>
                <property name="editable">0</property>
                <property name="wrap-mode">word</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox123">
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkAboutDialog" id="about_dialog">
    <property name="artists">Paul Emsley</property>
    <property name="authors">Paul Emsley
    with support and contributions from Kevin Cowtan,
    Bernhard Lohkamp, Jakub Smulski and Martin Noble</property>
    <property name="comments">Welcome to Coot</property>
    <property name="copyright">Copyright 2000, 2007, 2012-2024 by Paul Emsley
Copyright 2002, 2003, 2004, 2005, 2006, 2007 by The University of York
Copyright 2007, 2008, 2009, 2010, 2011, 2012 by The UKRI
Copyright 2023, 2024 Global Phasing Ltd.</property>
    <property name="documenters">Paul Emsley</property>
    <property name="halign">center</property>
    <property name="license">GNU LGPL version 3</property>
    <property name="license-type">lgpl-3-0</property>
    <property name="logo-icon-name">coot</property>
    <property name="program-name">Coot</property>
    <property name="version">1.1.11</property>
    <property name="website">https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot</property>
    <property name="website-label">The Coot Website</property>
  </object>

  <object class="GtkWindow" id="active_map_window">
    <property name="title" translatable="yes">Active Map on Dragging?</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="vbox8">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label10">
            <property name="label" translatable="yes">Active Map on Dragging?</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame6">
            <child>
              <object class="GtkBox" id="vbox9">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="active_map_radiobutton_yes">
                    <property name="label" translatable="yes">Yes</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="active_map_radiobutton_no">
                    <property name="label" translatable="yes">No</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">active_map_radiobutton_yes</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="active_map_ok_button">
            <property name="label" translatable="yes">OK</property>
            <property name="can-focus">1</property>
            <signal name="clicked" handler="on_active_map_ok_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="add_OXT_dialog">
    <property name="title" translatable="yes">Coot: Add OXT to Chain</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox61">
        <property name="orientation">vertical</property>
        <property name="spacing">4</property>
        <child>
          <object class="GtkFrame" id="frame114">
            <child>
              <object class="GtkBox" id="vbox121">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <child>
                  <object class="GtkLabel" id="label198">
                    <property name="label" translatable="yes">Add OXT to Chain:</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox101">
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkLabel" id="label199">
                        <property name="label" translatable="yes">  Molecule:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="add_OXT_molecule_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox102">
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkLabel" id="label200">
                        <property name="label" translatable="yes">  Chain:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="add_OXT_chain_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame115">
                    <child>
                      <object class="GtkBox" id="vbox122">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkBox" id="hbox103">
                            <child>
                              <object class="GtkCheckButton" id="add_OXT_c_terminus_radiobutton">
                                <property name="label" translatable="yes">  At C terminus</property>
                                <property name="active">1</property>
                                <signal name="toggled" handler="on_add_OXT_c_terminus_radiobutton_toggled" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">  </property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="add_OXT_residue_hbox">
                            <child>
                              <object class="GtkCheckButton" id="add_OXT_residue_radiobutton">
                                <property name="label" translatable="yes">At Residue: </property>
                                <property name="group">add_OXT_c_terminus_radiobutton</property>
                                <signal name="toggled" handler="on_add_OXT_residue_radiobutton_toggled" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkEntry" id="add_OXT_residue_entry">
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox99">
            <property name="homogeneous">1</property>
            <property name="spacing">4</property>
            <child>
              <object class="GtkButton" id="add_OXT_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_add_OXT_cancel_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="add_OXT_ok_button">
                <property name="label" translatable="yes">  Add it  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_add_OXT_ok_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="add_alt_conf_dialog">
    <property name="title" translatable="yes">Coot: Add Alternate Conformation</property>
    <child>
      <object class="GtkBox" id="dialog-vbox27">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox89">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame73">
                <child>
                  <object class="GtkBox" id="vbox90">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="add_alt_conf_ca_radiobutton">
                        <property name="label" translatable="yes">Split Single Residue at C-alpha</property>
                        <property name="can-focus">0</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_add_alt_conf_ca_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="add_alt_conf_whole_single_residue_radiobutton">
                        <property name="label" translatable="yes">Split All of a Single Residue</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">add_alt_conf_ca_radiobutton</property>
                        <signal name="toggled" handler="on_add_alt_conf_whole_single_residue_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="add_alt_conf_residue_range_radiobutton">
                        <property name="label" translatable="yes">Split a Residue Range</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">add_alt_conf_ca_radiobutton</property>
                        <signal name="toggled" handler="on_add_alt_conf_residue_range_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
            <object class="GtkBox" id="hbox60">
              <child>
                <object class="GtkButton" id="add_alt_conf_cancel_button">
                  <property name="label" translatable="yes">  Cancel  </property>
                  <property name="can-focus">0</property>
                  <property name="use-underline">1</property>
                  <signal name="clicked" handler="on_add_alt_conf_cancel_button_clicked" swapped="no"/>
                </object>
              </child>
            </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="add_reps_dialog">
    <signal name="close" handler="on_add_reps_dialog_close" swapped="no"/>
    <signal name="response" handler="on_add_reps_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <child>
          <object class="GtkBox" id="add_reps_vbox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Addtional Representation for Molecule Number:</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkCheckButton" id="add_rep_radiobutton_position">
                            <property name="label" translatable="yes">By Position (this residue)</property>
                            <property name="can-focus">1</property>
                            <property name="active">1</property>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="add_rep_radiobutton_res_number">
                                <property name="label" translatable="yes">By Residue Specification</property>
                                <property name="can-focus">1</property>
                                <property name="group">add_rep_radiobutton_position</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <child>
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes"> Chain ID: </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="add_rep_chain_id_entry">
                                    <property name="can-focus">1</property>
                                    <property name="width-chars">5</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <child>
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes"> From Residue Number: </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="add_rep_resno_start_entry">
                                    <property name="can-focus">1</property>
                                    <property name="width-chars">5</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes"> to </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="add_rep_resno_end_entry">
                                    <property name="can-focus">1</property>
                                    <property name="width-chars">5</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <child>
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">With insertion code: </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="add_rep_ins_code_entry">
                                    <property name="can-focus">1</property>
                                    <property name="width-chars">5</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkFrame">
                            <child>
                              <object class="GtkBox">
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkCheckButton" id="add_rep_radiobutton_selection_string">
                                    <property name="label" translatable="yes">By Selection String</property>
                                    <property name="can-focus">1</property>
                                    <property name="group">add_rep_radiobutton_position</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkBox">
                                    <child>
                                      <object class="GtkLabel">
                                        <property name="label" translatable="yes"> Atom Selection: </property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkEntry" id="add_rep_selection_string_entry">
                                        <property name="can-focus">1</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child type="label">
                              <object class="GtkLabel">
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Representation Selection</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes"> Bond Width: </property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="add_rep_bond_width_combobox">
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkCheckButton" id="add_rep_rep_fat_bonds_radiobutton">
                            <property name="label" translatable="yes">Fat Bonds</property>
                            <property name="can-focus">1</property>
                            <property name="active">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkFrame">
                            <child>
                              <object class="GtkCheckButton" id="add_rep_rep_ball_and_stick_radiobutton">
                                <property name="label" translatable="yes">Ball and Stick </property>
                                <property name="can-focus">1</property>
                                <property name="group">add_rep_rep_fat_bonds_radiobutton</property>
                              </object>
                            </child>
                            <child type="label">
                              <object class="GtkLabel">
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Representation Style</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Display of Addtional Representations is controlled in the Display Control dialog</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="add_terminal_residue_finds_none_dialog">
    <property name="title" translatable="yes">No Acceptable Terminal Residue </property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox51">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="add_terminal_residue_finds_none_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_add_terminal_residue_finds_none_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame101">
            <child>
              <object class="GtkLabel" id="label162">
                <property name="label" translatable="yes">  Add Terminal Residue failed to find any acceptable configuration here.</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">add_terminal_residue_finds_none_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="align_and_mutate_dialog">
    <property name="title" translatable="yes">Align and Mutate</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox82">
        <property name="orientation">vertical</property>
        <property name="spacing">8</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkFrame" id="frame149">
            <child>
              <object class="GtkBox" id="vbox151">
                <property name="orientation">vertical</property>
                <property name="spacing">8</property>
                <child>
                  <object class="GtkLabel" id="label239">
                    <property name="label" translatable="yes">Align and Mutate Molecule:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBoxText" id="align_and_mutate_molecule_combobox">
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox121">
                    <property name="spacing">8</property>
                    <child>
                      <object class="GtkLabel" id="label240">
                        <property name="label" translatable="yes">   Chain ID: </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="align_and_mutate_chain_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label241">
                    <property name="label" translatable="yes"> to (single letter) sequence:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow19">
                    <child>
                      <object class="GtkTextView" id="align_and_mutate_sequence_text">
                        <property name="can-focus">1</property>
                        <property name="wrap-mode">word</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="align_and_mutate_autofit_checkbutton">
                    <property name="label" translatable="yes"> Autofit the mutated residues?</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox120">
            <property name="spacing">4</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkButton" id="align_and_mutate_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_align_and_mutate_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="align_and_mutate_ok_button">
                <property name="label" translatable="yes">  Apply Sequence to Model  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_align_and_mutate_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="aniso_window">
    <property name="title" translatable="yes">Anisotripic Atoms</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="vbox16">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame12">
            <child>
              <object class="GtkBox" id="vbox17">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame13">
                    <child>
                      <object class="GtkBox" id="vbox18">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label19">
                            <property name="label" translatable="yes">Show Anisotropic Atoms?</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="show_aniso_yes_radiobutton">
                            <property name="label" translatable="yes">Yes</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="show_aniso_no_radiobutton">
                            <property name="label" translatable="yes">No</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="group">show_aniso_yes_radiobutton</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame14">
                    <child>
                      <object class="GtkBox" id="vbox19">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label20">
                            <property name="label" translatable="yes">Limit Display Radius of Anisotropic Atoms?</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="frame15">
                            <child>
                              <object class="GtkBox" id="vbox20">
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkCheckButton" id="limit_display_radius_yes_radiobutton">
                                    <property name="label" translatable="yes">Yes</property>
                                    <property name="can-focus">1</property>
                                    <property name="use-underline">1</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkCheckButton" id="limit_display_radius_no_radiobutton">
                                    <property name="label" translatable="yes">No</property>
                                    <property name="can-focus">1</property>
                                    <property name="use-underline">1</property>
                                    <property name="group">limit_display_radius_yes_radiobutton</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="frame16">
                            <child>
                              <object class="GtkBox" id="vbox21">
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkLabel" id="label21">
                                    <property name="label" translatable="yes">Display Limit Radius</property>
                                    <property name="justify">center</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkBox" id="hbox11">
                                    <child>
                                      <object class="GtkEntry" id="limit_display_radius_entry">
                                        <property name="can-focus">1</property>
                                        <property name="primary-icon-activatable">0</property>
                                        <property name="secondary-icon-activatable">0</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkLabel" id="label22">
                                        <property name="label" translatable="yes">A</property>
                                        <property name="justify">center</property>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame17">
                    <child>
                      <object class="GtkBox" id="vbox22">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label23">
                            <property name="label" translatable="yes">Probability </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="hbox12">
                            <property name="homogeneous">1</property>
                            <child>
                              <object class="GtkScale" id="aniso_probability_hscale">
                                <property name="can-focus">1</property>
                                <property name="round-digits">3</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label24">
                                <property name="label" translatable="yes">%</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox151">
            <property name="homogeneous">1</property>
            <child>
              <object class="GtkButton" id="show_aniso_close_button">
                <property name="label" translatable="yes">Close</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_show_aniso_close_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="show_aniso_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_show_aniso_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <!-- ribbons, I mean. It should be part of a redesigned Display Manager - but this quick fix will do for now -->
  <object class="GtkDialog" id="molecular_representations_dialog">
    <property name="title" translatable="yes">Coot: Representations</property>
    <property name="width-request">180</property>
    <child>
      <object class="GtkFrame" id="molecular_representations_frame"> <!-- for reparenting? -->
        <child>
          <object class="GtkBox" id="molecular_representations_vbox">
            <property name="spacing">4</property>
            <property name="orientation">vertical</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="generic_validation_box_of_buttons_dialog">
    <property name="title" translatable="yes">Coot: Validation</property>
    <property name="width-request">170</property>
    <child>
      <object class="GtkBox" id="generic_validation_box_of_buttons_outer_box"> <!-- for reparenting -->
        <property name="orientation">vertical</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkBox" id="generic_validation_box_of_buttons_box">
            <property name="orientation">vertical</property>
            <property name="spacing">4</property>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
          </object>
        </child>
        <child>
          <object class="GtkButton" id="generic_validation_box_of_buttons_close_button">
            <property name="label">Close</property>
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <property name="margin-top">8</property>
            <property name="margin-bottom">8</property>
            <signal name="clicked" handler="on_generic_validation_box_of_buttons_close_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="bad_chiral_volumes_dialog">
    <property name="title" translatable="yes">Chiral Volume Baddies:</property>
    <property name="default-width">200</property>
    <property name="default-height">200</property>
    <property name="deletable">0</property>
    <signal name="response" handler="on_bad_chiral_volumes_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox54">
        <property name="margin-start">2</property>
        <property name="margin-end">2</property>
        <property name="margin-top">2</property>
        <property name="margin-bottom">2</property>
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="bad_chiral_volumes_dialog_close_button">
                <property name="label">gtk-close</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow10">
            <property name="min-content-width">200</property>
            <property name="min-content-height">200</property>
            <child>
              <object class="GtkViewport" id="viewport6">
                <child>
                  <object class="GtkBox" id="chiral_volume_baddies_vbox">
                    <property name="orientation">vertical</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-7">bad_chiral_volumes_dialog_close_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="baton_dialog">
    <property name="title" translatable="yes">Baton</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox18">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="baton_dialog_ok_button">
                <property name="label" translatable="yes">  Dismiss  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_baton_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox69">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame55">
                <child>
                  <object class="GtkBox" id="vbox70">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label101">
                        <property name="label" translatable="yes">  Baton Position</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="frame57">
                        <child>
                          <object class="GtkBox" id="vbox72">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkButton" id="baton_accept_button">
                                <property name="label" translatable="yes">Accept</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_baton_accept_button_clicked" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkButton" id="baton_try_again_button">
                                <property name="label" translatable="yes">Try Another</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_baton_try_again_button_clicked" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkButton" id="baton_undo_button">
                                <property name="label" translatable="yes">Undo</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_baton_undo_button_clicked" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame56">
                <child>
                  <object class="GtkBox" id="vbox71">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label102">
                        <property name="label" translatable="yes">  Baton Length</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="frame58">
                        <child>
                          <object class="GtkBox" id="vbox73">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkButton" id="baton_lengthen_button">
                                <property name="label" translatable="yes">  Lengthen  </property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_baton_lengthen_button_clicked" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkButton" id="baton_shorten_button">
                                <property name="label" translatable="yes">Shorten</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_baton_shorten_button_clicked" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">baton_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="baton_mode_make_skeleton_dialog">
    <property name="title" translatable="yes">Make Skeleton?</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox56">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox86">
                <child>
                  <object class="GtkButton" id="baton_mode_calculate_skeleton_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_baton_mode_calculate_skeleton_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="baton_mode_calculate_skeleton_ok_button">
                    <property name="label" translatable="yes">   Calculate   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_baton_mode_calculate_skeleton_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkLabel" id="label173">
            <property name="label" translatable="yes">

There is no skeleton for this map.

Calculate a skeleton now?

</property>
            <property name="justify">center</property>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="bond_parameters_dialog">
    <property name="title" translatable="yes">Coot Bond Parameters</property>
    <child>
      <object class="GtkBox" id="dialog-vbox59">
        <property name="orientation">vertical</property>
        <property name="spacing">8</property>

        <child>
          <object class="GtkBox" id="vbox117">
            <property name="orientation">vertical</property>
            <property name="spacing">8</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <child>
              <object class="GtkBox" id="bond_parameters_hbox_for_molecule_combobox">
              <property name="margin-start">6</property>
              <property name="margin-end">6</property>
                <child>
                  <object class="GtkLabel" id="label189">
                    <property name="label" translatable="yes">  Molecule:  </property>
                    <property name="justify">center</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="bond_parameters_molecule_comboboxtext">
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                  </object>
                </child>

                <child>
                  <object class="GtkLabel" id="label190">
                    <property name="label" translatable="yes">   </property>
                    <property name="justify">center</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame111">
                <child>
                  <object class="GtkBox" id="vbox118">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkBox" id="hbox94">
                        <child>
                          <object class="GtkComboBoxText" id="bond_parameters_bond_width_combobox_text">
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label191">
                            <property name="label" translatable="yes">  pixels  </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label307">
                    <property name="label" translatable="yes">Molecule Bond Width:</property>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="frame112">
                <child>
                  <object class="GtkBox" id="vbox119">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="draw_hydrogens_yes_radiobutton">
                        <property name="label" translatable="yes">Yes</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="toggled" handler="on_draw_hydrogens_yes_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="draw_hydrogens_no_radiobutton">
                        <property name="label" translatable="yes">No</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">draw_hydrogens_yes_radiobutton</property>
                        <signal name="toggled" handler="on_draw_hydrogens_no_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label308">
                    <property name="label" translatable="yes">Draw Hydrogen Atoms?</property>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="ncs_frame">
                <property name="sensitive">0</property>
                <property name="visible">false</property>
                <child>
                  <object class="GtkBox" id="vbox146">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="draw_ncs_ghosts_yes_radiobutton">
                        <property name="label" translatable="yes">Yes</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_draw_ncs_ghosts_yes_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="draw_ncs_ghosts_no_radiobutton">
                        <property name="label" translatable="yes">No</property>
                        <property name="group">draw_ncs_ghosts_yes_radiobutton</property>
                        <signal name="toggled" handler="on_draw_ncs_ghosts_no_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label309">
                    <property name="label" translatable="yes">Draw Non-Crystallographic Ghosts?</property>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="anisotropic_atom_frame">
                <property name="sensitive">1</property>

                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>

                    <child type="label">
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">  Draw Anisotropic Atoms Anisotropically?  </property>
                        <property name="justify">left</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="draw_anisotropic_atoms_yes_radiobutton">
                        <property name="label" translatable="yes">Yes</property>
                        <property name="active">0</property>
                        <signal name="toggled" handler="on_draw_anisotropic_atoms_yes_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="draw_anisotropic_atoms_no_radiobutton">
                        <property name="label" translatable="yes">No</property>
                        <property name="group">draw_anisotropic_atoms_yes_radiobutton</property>
                        <signal name="toggled" handler="on_draw_anisotropic_atoms_no_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>

                    <child>
                      <object class="GtkBox">
                        <property name="orientation">horizontal</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Ortep Style:  Off</property>
                            <property name="margin-top">2</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-start">4</property>
                            <property name="margin-end">4</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkSwitch" id="show_anisotropic_atoms_as_ortep">
                            <property name="active">False</property>
                            <property name="width-request">40</property>
                            <property name="margin-top">2</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-start">4</property>
                            <property name="margin-end">4</property>
                            <signal name="state-set" handler="show_anisotropic_atoms_as_ortep_switch_state_set"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">On</property>
                            <property name="margin-top">2</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-start">4</property>
                            <property name="margin-end">4</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="action">
              <object class="GtkBox" id="hbox105">
                <property name="spacing">6</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>

                <!-- this dialog is dynamic now (or should be) - no need for "Apply" buton -->
                <!-- <child> -->
                <!--   <object class="GtkButton" id="bond_parameters_apply_button"> -->
                <!--     <property name="label" translatable="yes">  Apply  </property> -->
                <!--     <property name="can-focus">1</property> -->
                <!--     <property name="use-underline">1</property> -->
                <!--     <signal name="clicked" handler="on_bond_parameters_apply_button_clicked" swapped="no"/> -->
                <!--   </object> -->
                <!-- </child> -->
                <!-- <child> -->
                <!--   <object class="GtkButton" id="bond_parameters_ok_button"> -->
                <!--     <property name="label" translatable="yes">       OK       </property> -->
                <!--     <property name="can-focus">1</property> -->
                <!--     <property name="use-underline">1</property> -->
                <!--     <signal name="clicked" handler="on_bond_parameters_ok_button_clicked" swapped="no"/> -->
                <!--   </object> -->
                <!-- </child> -->

                <child>
                  <object class="GtkButton" id="bond_parameters_close_button">
                    <property name="label" translatable="yes">  Close  </property>
                    <property name="margin-top">2</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">2</property>
                    <property name="margin-end">2</property>
                    <signal name="clicked" handler="on_bond_parameters_close_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="centre_atom_label_dialog">
    <property name="title" translatable="yes">Centre Atom Label</property>
    <child>
      <object class="GtkBox" id="dialog-vbox45">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="centre_atom_label_ok_button">
                <property name="label" translatable="yes">  Dismiss  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_centre_atom_label_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame89">
            <child>
              <object class="GtkBox" id="vbox108">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label155">
                    <property name="label" translatable="yes">Label Centre Atom on Recentre?</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="centre_atom_label_radiobutton_on">
                    <property name="label" translatable="yes">On</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_centre_atom_label_radiobutton_on_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="centre_atom_label_radiobutton_off">
                    <property name="label" translatable="yes">Off</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">centre_atom_label_radiobutton_on</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="label166">
            <property name="label" translatable="yes">[   Note: this setting is trumped by   ]
[ Evironment Disance Label Atom? ]</property>
            <property name="justify">center</property>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">centre_atom_label_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="change_chain_id_dialog">
    <property name="title" translatable="yes">Change Chain ID</property>
    <child>
      <object class="GtkBox" id="dialog-vbox86">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame156">
            <child>
              <object class="GtkBox" id="vbox161">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label246">
                    <property name="label" translatable="yes">Change Chain ID in Molecule:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBoxText" id="change_chain_id_molecule_combobox">
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label248">
                    <property name="label" translatable="yes">From:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox125">
                    <child>
                      <object class="GtkLabel" id="label247">
                        <property name="label" translatable="yes">  Chain ID:   </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="change_chain_id_chain_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame157">
                    <child>
                      <object class="GtkBox" id="vbox162">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkBox" id="hbox126">
                            <child>
                              <object class="GtkCheckButton" id="change_chain_residue_range_no_radiobutton">
                                <property name="label" translatable="yes">Whole Chain</property>
                                <property name="active">1</property>
                                <property name="can-focus">1</property>
                                <signal name="toggled" handler="on_change_chain_residue_range_no_radiobutton_toggled" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="hbox127">
                            <child>
                              <object class="GtkCheckButton" id="change_chain_residue_range_yes_radiobutton">
                                <property name="label" translatable="yes">Use Residue Range</property>
                                <property name="can-focus">1</property>
                                <property name="group">change_chain_residue_range_no_radiobutton</property>
                                <signal name="toggled" handler="on_change_chain_residue_range_yes_radiobutton_toggled" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox" id="change_chain_id_residue_range_hbox">
                                <property name="sensitive">0</property>
                                <child>
                                  <object class="GtkLabel" id="label249">
                                    <property name="label" translatable="yes">from  </property>
                                    <property name="justify">center</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="change_chain_residues_from_entry">
                                    <property name="can-focus">1</property>
                                    <property name="primary-icon-activatable">0</property>
                                    <property name="secondary-icon-activatable">0</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel" id="label250">
                                    <property name="label" translatable="yes">   to   </property>
                                    <property name="justify">center</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkEntry" id="change_chains_residues_to_entry">
                                    <property name="can-focus">1</property>
                                    <property name="primary-icon-activatable">0</property>
                                    <property name="secondary-icon-activatable">0</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel" id="label256">
                                    <property name="label" translatable="yes">   </property>
                                    <property name="justify">center</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label318">
                        <property name="label" translatable="yes">Using Residue Selection:</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label251">
                    <property name="label" translatable="yes">To:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox129">
                    <child>
                      <object class="GtkLabel" id="label252">
                        <property name="label" translatable="yes">Chain ID: </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="change_chains_new_chain_id">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox124">
            <property name="homogeneous">1</property>
            <property name="spacing">6</property>
            <property name="margin-start">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkButton" id="change_chain_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_change_chain_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="change_chains_rechain_button">
                <property name="label" translatable="yes">  Apply New Chain ID  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <signal name="clicked" handler="on_change_chains_rechain_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="check_chiral_volumes_dialog">
    <property name="title" translatable="yes">Check Chiral Volumes molecule chooser:</property>
    <child>
      <object class="GtkBox" id="dialog-vbox53">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox85">
                <child>
                  <object class="GtkButton" id="check_chiral_volumes_ok_button">
                    <property name="label" translatable="yes">   Check Volumes   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_check_chiral_volumes_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="check_chiral_volumes_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_check_chiral_volumes_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame106">
            <child>
              <object class="GtkBox" id="check_chiral_volumes_dialog_vbox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label171">
                    <property name="label" translatable="yes">Check Chiral Volumes on molecule:</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBox" id="check_chiral_volumes_molecule_combobox">
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="check_waters_dialog">
    <property name="title" translatable="yes">Coot: Check Waters</property>
    <child>
      <object class="GtkBox" id="dialog-vbox38">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox100">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkBox" id="hbox73">
                <child>
                  <object class="GtkLabel" id="label136">
                    <property name="label" translatable="yes">  Molecule: </property>
                    <property name="justify">center</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="check_waters_molecule_comboboxtext">
                    <property name="active">0</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                  </object>
                </child>

              </object>
            </child>

            <child>
              <object class="GtkBox" id="hbox72">
                <child>
                  <object class="GtkLabel" id="label135">
                    <property name="label" translatable="yes">  Action:  </property>
                    <property name="justify">center</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="check_waters_action_comboboxtext">
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <items>
                      <item translatable="yes">Check</item>
                      <item translatable="yes">Delete</item>
                    </items>
                  </object>
                </child>

              </object>
            </child>

            <child>
              <object class="GtkFrame" id="frame84">
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>

                <child>
                  <object class="GtkGrid" id="check_delete_waters_grid">
                    <property name="margin-bottom">2</property>
                    <property name="column-spacing">4</property>
                    <property name="row-spacing">4</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>


                    <!-- row 0 -->

                    <child>
                      <object class="GtkLabel" id="label259">
                        <property name="label" translatable="yes">  with B factor greater than:  </property>
                        <property name="justify">left</property>
                        <layout>
                          <property name="row">0</property>
                          <property name="column">0</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkEntry" id="check_waters_b_factor_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="row">0</property>
                          <property name="column">1</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkLabel" id="label141">
                        <property name="label" translatable="yes"> A² </property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="row">0</property>
                          <property name="column">2</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="check_waters_b_factor_entry_active_checkbutton">
                        <property name="label" translatable="yes">Active  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_check_waters_b_factor_entry_active_checkbutton_toggled" swapped="no"/>
                        <layout>
                          <property name="row">0</property>
                          <property name="column">3</property>
                        </layout>
                      </object>
                    </child>

                    <!-- row 1 -->

                    <child>
                      <object class="GtkLabel" id="label138">
                        <property name="label" translatable="yes">  with map rmsd level less than:  </property>
                        <property name="justify">left</property>
                        <layout>
                          <property name="row">1</property>
                          <property name="column">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="check_waters_map_sigma_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">1</property>
                        <property name="secondary-icon-activatable">1</property>
                        <layout>
                          <property name="row">1</property>
                          <property name="column">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label142">
                        <property name="label" translatable="yes"> e⁻/A³ </property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="row">1</property>
                          <property name="column">2</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="check_waters_map_sigma_entry_active_checkbutton">
                        <property name="label" translatable="yes">Active  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_check_waters_map_sigma_entry_active_checkbutton_toggled" swapped="no"/>
                        <layout>
                          <property name="row">1</property>
                          <property name="column">3</property>
                        </layout>
                      </object>
                    </child>

                    <!-- row 2 -->

                    <child>
                      <object class="GtkLabel" id="label139">
                        <property name="label" translatable="yes">  with closest contact less than:  </property>
                        <property name="justify">left</property>
                        <layout>
                          <property name="row">2</property>
                          <property name="column">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="check_waters_min_dist_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="row">2</property>
                          <property name="column">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label143">
                        <property name="label" translatable="yes"> A </property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="row">2</property>
                          <property name="column">2</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="check_waters_min_dist_entry_active_checkbutton">
                        <property name="label" translatable="yes">Active  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_check_waters_min_dist_entry_active_checkbutton_toggled" swapped="no"/>
                        <layout>
                          <property name="row">2</property>
                          <property name="column">3</property>
                        </layout>
                      </object>
                    </child>

                    <!-- row 3 -->

                    <child>
                      <object class="GtkLabel" id="label140">
                        <property name="label" translatable="yes">  with closest contact more than:  </property>
                        <property name="justify">left</property>
                        <layout>
                          <property name="row">3</property>
                          <property name="column">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="check_waters_max_dist_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="row">3</property>
                          <property name="column">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label144">
                        <property name="label" translatable="yes">A</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="row">3</property>
                          <property name="column">2</property>
                        </layout>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="check_waters_max_dist_entry_active_checkbutton">
                        <property name="label" translatable="yes">Active  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_check_waters_max_dist_entry_active_checkbutton_toggled" swapped="no"/>
                        <layout>
                          <property name="row">3</property>
                          <property name="column">3</property>
                        </layout>
                      </object>
                    </child>

                  </object>
                </child> <!-- end of grid -->

              </object>
            </child> <!-- end of frame (for grid) -->

            <child>
              <object class="GtkBox" id="vbox101">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkBox" id="hbox74">
                    <child>
                      <object class="GtkBox" id="check_waters_b_factor_hbox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox75">
                    <child>
                      <object class="GtkBox" id="check_waters_sigma_level_hbox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox76">
                    <child>
                      <object class="GtkBox" id="check_waters_min_dist_hbox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox77">
                    <child>
                      <object class="GtkBox" id="check_waters_max_dist_hbox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="check_waters_low_occ_dist_checkbutton">
                    <property name="label" translatable="yes"> Ignore Partial Occupancy close contacts</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_check_waters_low_occ_dist_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="check_waters_zero_occ_checkbutton">
                    <property name="label" translatable="yes"> Ignore Waters with Zero Occupancy</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_check_waters_zero_occ_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="frame154">
                <child>
                  <object class="GtkBox" id="vbox157">
                    <property name="orientation">vertical</property>
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkLabel" id="label244">
                        <property name="label" translatable="yes">For Waters that match:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="check_waters_OR_radiobutton">
                        <property name="label" translatable="yes">Any Criterion</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="check_waters_AND_radiobutton">
                        <property name="label" translatable="yes">All Criteria</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">check_waters_OR_radiobutton</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox78">
            <property name="spacing">4</property>
            <child>
              <object class="GtkButton" id="check_waters_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="margin-top">8</property>
                <property name="margin-bottom">8</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_check_waters_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="check_waters_ok_button">
                <property name="label" translatable="yes">    OK    </property>
                <property name="margin-top">8</property>
                <property name="margin-bottom">8</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_check_waters_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="check_waters_diff_map_dialog">
    <property name="title" translatable="yes">Check waters by difference map</property>
    <child>
      <object class="GtkBox" id="dialog-vbox70">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox112">
                <child>
                  <object class="GtkButton" id="check_waters_diff_map_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_check_waters_diff_map_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="check_waters_diff_map_ok_button">
                    <property name="label" translatable="yes">   Check Waters   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_check_waters_diff_map_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox132">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkBox" id="vbox133">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame126">
                    <child>
                      <object class="GtkBox" id="check_waters_diff_map_map_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label216">
                            <property name="label" translatable="yes">Select Difference Map:</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="no_difference_maps_frame">
                            <child>
                              <object class="GtkLabel" id="label220">
                                <property name="label" translatable="yes">
WARNING:: No Difference Maps Available!
</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame127">
                    <child>
                      <object class="GtkBox" id="check_waters_diff_map_model_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label217">
                            <property name="label" translatable="yes">Select Model with Waters:</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkFrame" id="no_models_with_waters_frame">
                            <child>
                              <object class="GtkLabel" id="label221">
                                <property name="label" translatable="yes">
WARNING:: No Models with Waters Available!
</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="checked_waters_baddies_dialog">
    <property name="title" translatable="yes">Coot: Questionable Waters</property>
    <property name="default-width">420</property>
    <child>
      <object class="GtkBox" id="dialog-vbox84">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow20">
            <property name="width-request">190</property>
            <property name="height-request">180</property>
            <child>
              <object class="GtkViewport" id="viewport12">
                <child>
                  <object class="GtkBox" id="checked_waters_baddies_vbox">
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="orientation">vertical</property>
                    <property name="hexpand">1</property>
                    <property name="vexpand">1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
         <child type="action">
              <object class="GtkButton" id="checked_waters_baddies_cancel_button">
                <property name="label" translatable="yes">  Close  </property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_checked_waters_baddies_cancel_button_clicked" swapped="no"/>
              </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">checked_waters_baddies_cancel_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="chi_angle_help_dialog">
    <property name="title" translatable="yes">Chi Angle Help</property>
    <child>
      <object class="GtkBox" id="dialog-vbox46">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame96">
            <child>
              <object class="GtkLabel" id="label156">
                <property name="label" translatable="yes">  Select the chi angle (rotatable bond) by clicking
on the button in the list.

In the graphics window, click and drag as you
would if you wanted to change the view - this
causes the atoms to move.

There are keyboard equivalents to the butons, &quot;1&quot;
  will rotate chi__1, &quot;2&quot; will rotate chi__2 etc...

To make the view move (rather than the intermediate
atoms), click the &quot;View Rotation Mode&quot; button or use
the Ctrl key when moving the mouse.</property>
                <property name="justify">center</property>
                <property name="xalign">0</property>
              </object>
            </child>
          </object>
        </child>
         <child type="action">
              <object class="GtkButton" id="help_chi_angles_dismiss_button">
                <property name="label" translatable="yes">  Dismiss  </property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_help_chi_angles_dismiss_button_clicked" swapped="no"/>
              </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">help_chi_angles_dismiss_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="chiral_restraints_problem_dialog">
    <property name="title" translatable="yes">Problem with restraints...</property>
    <child>
      <object class="GtkBox" id="dialog-vbox69">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="chiral_restraints_problem_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_chiral_restraints_problem_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame125">
            <child>
              <object class="GtkLabel" id="chiral_volume_restraints_problem_label">
                <property name="label" translatable="yes">

         Problem finding restraints!
(see console)

</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">chiral_restraints_problem_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="cif_dictionary_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select mmCIF Dictionary Filename</property>
    <signal name="response" handler="on_cif_dictionary_filechooser_dialog_response" swapped="no"/>
  </object>

  <object class="GtkDialog" id="close_molecule_dialog">
    <property name="title" translatable="yes">Choose Molecule to Close:</property>
    <child>
      <object class="GtkBox" id="dialog-vbox13">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox48">
                <child>
                  <object class="GtkButton" id="close_molecule_close_button">
                    <property name="label" translatable="yes">Close Molecule</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_close_molecule_close_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="close_molecule_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_close_molecule_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox64">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label96">
                <property name="label" translatable="yes">Choose Molecule/Map to Close:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame52">
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="column_label_window">
    <property name="title" translatable="yes">Coot: Column Label Assignment</property>
    <child>
      <object class="GtkBox" id="column_label_vbox">
        <property name="orientation">vertical</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkBox" id="hbox88">
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkLabel" id="label177">
                <property name="label" translatable="yes"></property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="column_label_expert_mode_button">
                <property name="label" translatable="yes">Expert Mode?</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_column_label_expert_mode_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="label1">
            <property name="label" translatable="yes">Column Labels for Map Synthesis:</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox3">
            <property name="orientation">vertical</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkFrame" id="frame1">
                <child>
                  <object class="GtkBox" id="hbox1">
                    <child>
                      <object class="GtkLabel" id="label2">
                        <property name="label" translatable="yes"> Amplitudes </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="column_selector_amplitudes_combobox">
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame2">
                <child>
                  <object class="GtkBox" id="hbox4">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkLabel" id="label3">
                        <property name="label" translatable="yes"> Phases </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="column_selector_phases_combobox">
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame23">
                <child>
                  <object class="GtkBox" id="vbox28">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkBox" id="hbox15">
                        <child>
                          <object class="GtkLabel" id="label30">
                            <property name="label" translatable="yes">   </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="use_weights_checkbutton">
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="toggled" handler="on_use_weights_checkbutton_toggled" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="column_label_window_weights_hbox">
                        <property name="sensitive">0</property>
                        <child>
                          <object class="GtkLabel" id="label31">
                            <property name="label" translatable="yes">Weights </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="column_selector_weights_combobox">
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="column_labels_resolution_limit_frame">
                <child>
                  <object class="GtkBox" id="vbox113">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkCheckButton" id="column_labels_use_resolution_limits_checkbutton">
                        <property name="label" translatable="yes">Use Resolution Limits</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="toggled" handler="on_column_labels_use_resolution_limits_checkbutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="resolution_limits_hbox">
                        <property name="sensitive">0</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <child>
                          <object class="GtkLabel" id="label175">
                            <property name="label" translatable="yes">Low: </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="column_labels_reso_low_entry">
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label174">
                            <property name="label" translatable="yes">   </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label176">
                            <property name="label" translatable="yes">High: </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="column_labels_reso_high_entry">
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label178">
                    <property name="label" translatable="yes">Resolution limits</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="difference_map_checkbutton">
                <property name="label" translatable="yes">Is a Difference Map</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
              </object>
            </child>
            <child>
              <object class="GtkSeparator">
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="refmac_column_labels_checkbutton">
                <property name="label" translatable="yes">Assign Labels for Structure Factor Calculation?</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="toggled" handler="on_refmac_column_labels_checkbutton_toggled" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="column_label_refmac_frame">
                <property name="sensitive">0</property>
                <child>
                  <object class="GtkBox" id="vbox79">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkBox" id="hbox53">
                        <property name="spacing">26</property>
                        <child>
                          <object class="GtkLabel" id="label105">
                            <property name="label" translatable="yes">Fobs</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="column_label_selector_refmac_fobs_combobox">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox54">
                        <property name="spacing">4</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <child>
                          <object class="GtkLabel" id="label106">
                            <property name="label" translatable="yes">Sig Fobs</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="column_label_selector_refmac_sigfobs_combobox">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox55">
                        <property name="spacing">21</property>
                        <child>
                          <object class="GtkLabel" id="label107">
                            <property name="label" translatable="yes">R free</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="column_label_selector_refmac_rfree_combobox">
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox3">
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="homogeneous">1</property>
            <child>
              <object class="GtkButton" id="column_label_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_column_label_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="column_label_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_column_label_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="label8">
            <property name="label" translatable="yes">(Thinking, not crashing)</property>
            <property name="justify">center</property>
            <property name="visible">False</property>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="coords_colour_control_dialog">
    <property name="width-request">380</property>
    <property name="height-request">380</property>
    <property name="title" translatable="yes">Coot: Molecule Colours</property>
    <child>
      <object class="GtkBox" id="dialog-vbox93">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox178">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label268">
                <property name="label" translatable="yes">Molecule Colours</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow26">
                <property name="vexpand">1</property>
                <property name="hexpand">1</property>
                <child>
                  <object class="GtkViewport" id="viewport20">
                    <child>
                      <object class="GtkBox" id="coords_colours_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkFrame" id="frame_molecule_N">
                            <child>
                              <object class="GtkBox" id="hbox136">
                                <child>
                                  <object class="GtkLabel" id="label269">
                                    <property name="label" translatable="yes">    </property>
                                    <property name="justify">center</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkScale">
                                    <property name="vexpand">1</property>
                                    <property name="round-digits">1</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel" id="label270">
                                    <property name="label" translatable="yes">  degrees  </property>
                                    <property name="justify">center</property>
                                    <property name="yalign">0.56</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label323">
                                <property name="label" translatable="yes">Molecule N</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label271">
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame116">
                <child>
                  <object class="GtkBox" id="vbox123">
                    <property name="orientation">vertical</property>
                    <property name="spacing">9</property>
                    <child>
                      <object class="GtkFrame" id="frame173">
                        <child>
                          <object class="GtkBox" id="vbox192">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkLabel" id="label201">
                                <property name="label" translatable="yes">  New molecule rotates colour map</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox" id="hbox119">
                                <child>
                                  <object class="GtkLabel" id="label237">
                                    <property name="label" translatable="yes">   by  </property>
                                    <property name="justify">center</property>
                                    <property name="yalign">0.95</property>
                                  </object>
                                </child>

                                <child>
                                  <object class="GtkScale" id="bond_parameters_colour_rotation_hscale">
                                    <property name="width-request">350</property>
                                  </object>
                                </child>

                                <child>
                                  <object class="GtkLabel" id="label238">
                                    <property name="label" translatable="yes">  degrees   </property>
                                    <property name="justify">center</property>
                                    <property name="yalign">0.95</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>

                    <!-- <child> -->  <!-- because it's always C-only -->
                    <!--   <object class="GtkFrame" id="bond_parameters_rotate_colour_map_c_only_frame"> -->
                    <!--     <child> -->
                    <!--       <object class="GtkCheckButton" id="bond_parameters_rotate_colour_map_c_only_checkbutton"> -->
                    <!--         <property name="label" translatable="yes"> Change colour for Carbons only</property> -->
                    <!--         <property name="can-focus">1</property> -->
                    <!--         <property name="use-underline">1</property> -->
                    <!--         <signal name="toggled" handler="on_bond_parameters_rotate_colour_map_c_only_checkbutton_toggled" swapped="no"/> -->
                    <!--       </object> -->
                    <!--     </child> -->
                    <!--   </object> -->
                    <!-- </child> -->

                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label324">
                    <property name="label" translatable="yes">Colour Map Rotation [Molecule Independent] </property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child type="action">
          <object class="GtkButton" id="coord_colour_control_ok_button">
            <property name="label" translatable="yes">   OK   </property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <signal name="clicked" handler="on_coord_colour_control_ok_button_clicked" swapped="no"/>
          </object>
        </child>

      </object>
    </child>
    <action-widgets>
      <action-widget response="0">coord_colour_control_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="coords_filechooser_dialog">
    <property name="width-request">600</property>
    <property name="use-header-bar">1</property>
    <property name="title" translatable="yes">Coot: Select Coordinate Filename</property>
    <!-- <property name="deletable">0</property> -->
    <signal name="response" handler="on_coords_filechooser_dialog_response_gtk4" swapped="no"/>
  </object>

  <object class="GtkFileChooserDialog" id="dataset_filechooser_dialog">
    <property name="width-request">600</property>
    <property name="use-header-bar">1</property>
    <property name="title" translatable="yes">Coot: Select Dataset Filename</property>
    <!-- <property name="deletable">0</property> -->
    <signal name="response" handler="on_dataset_filechooser_dialog_response" swapped="no"/>
  </object>

  <object class="GtkDialog" id="copy_fragment_dialog">
    <property name="title" translatable="yes">Coot Copy Fragment</property>
    <signal name="response" handler="on_copy_fragment_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="spacing">6</property>
        <property name="orientation">vertical</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>
        <property name="margin-bottom">6</property>
        <property name="margin-top">6</property>

        <child>
          <object class="GtkLabel">
            <property name="label" translatable="yes">Copy From Molecule</property>
          </object>
        </child>

        <child>
          <object class="GtkComboBoxText" id="copy_fragment_combobox">
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>

            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes"> Atom Selection for Fragment  </property>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="copy_fragment_atom_selection_entry">
                <property name="placeholder_text" translatable="yes">//A/1-10</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>
            <child>
              <object class="GtkCheckButton" id="copy_fragment_move_molecule_here_checkbutton">
                <property name="label" translatable="yes">Move new molecule here</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>
            <child>
              <object class="GtkButton" id="copy_fragment_cancel_button">
                <property name="label" translatable="yes"> Cancel </property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="copy_fragment_ok_button">
                <property name="label" translatable="yes">  OK  </property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-6">copy_fragment_cancel_button</action-widget>
      <action-widget response="-5">copy_fragment_ok_button</action-widget>
    </action-widgets>
  </object>

  <object class="GtkDialog" id="delete_item_dialog">
    <property name="title" translatable="yes">Delete item</property>
    <child>
      <object class="GtkBox" id="dialog-vbox12">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="delete_item_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_delete_item_cancel_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame51">
            <child>
              <object class="GtkBox" id="vbox63">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label95">
                    <property name="label" translatable="yes">Delete What Item Type?</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_residue_radiobutton">
                    <property name="label" translatable="yes">Residue/Monomer</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="active">1</property>
                    <signal name="toggled" handler="on_delete_item_residue_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_water_radiobutton">
                    <property name="label" translatable="yes">Water</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">delete_item_residue_radiobutton</property>
                    <signal name="toggled" handler="on_delete_item_water_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_atom_radiobutton">
                    <property name="label" translatable="yes">Atom</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">delete_item_residue_radiobutton</property>
                    <signal name="toggled" handler="on_delete_item_atom_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_sidechain_radiobutton">
                    <property name="label" translatable="yes">Sidechain</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">delete_item_residue_radiobutton</property>
                    <signal name="toggled" handler="on_delete_item_sidechain_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_residue_hydrogens_radiobutton">
                    <property name="label" translatable="yes">Hydrogens in Residue</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">delete_item_residue_radiobutton</property>
                    <signal name="toggled" handler="on_delete_item_residue_hydrogens_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_residue_range_radiobutton">
                    <property name="label" translatable="yes">Delete Zone</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">delete_item_residue_radiobutton</property>
                    <signal name="toggled" handler="on_delete_item_residue_range_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="delete_item_keep_active_checkbutton">
                    <property name="label" translatable="yes">Keep Delete Active</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_delete_item_keep_active_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label126">
                    <property name="label" translatable="yes">
 Now click on an atom (of the residue)
that you wish to delete.               </property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="display_control_window_glade">
    <property name="width-request">420</property>
    <property name="height-request">380</property>
    <property name="title" translatable="yes">Coot: Display Manager</property>
    <property name="default-width">700</property>
    <property name="hide-on-close">True</property>
    <child>
      <object class="GtkBox" id="vbox30">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkPaned" id="display_control_vpaned">
            <property name="can-focus">1</property>
            <property name="wide-handle">1</property>
            <property name="orientation">vertical</property>
            <property name="position">160</property>
            <property name="vexpand">1</property>
            <child>
              <object class="GtkBox" id="paned_maps_vbox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkBox" id="hbox235">
                    <child>
                      <object class="GtkLabel" id="label257">
                        <property name="label" translatable="yes">   Maps              </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="display_control_all_maps_togglebutton">
                        <property name="label" translatable="yes">   All   </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <signal name="toggled" handler="on_display_control_all_maps_togglebutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow21">
                    <child>
                      <object class="GtkViewport" id="viewport13">
                        <child>
                          <object class="GtkBox" id="display_map_vbox">
                            <property name="orientation">vertical</property>
                            <property name="vexpand">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="paned_molecules_vbox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkBox" id="hbox236">
                    <child>
                      <object class="GtkLabel" id="label258">
                        <property name="label" translatable="yes">   Molecules     </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="display_control_all_models_togglebutton">
                        <property name="label" translatable="yes">   All   </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_display_control_all_models_togglebutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="display_control_last_model_only_button">
                        <property name="label" translatable="yes"> Last Only </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <signal name="clicked" handler="on_display_control_last_model_only_button_clicked" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow22">
                    <child>
                      <object class="GtkViewport" id="viewport14">
                        <child>
                          <object class="GtkBox" id="display_molecule_vbox">
                            <property name="orientation">vertical</property>
                            <property name="vexpand">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame32">
            <property name="can-focus">1</property>
            <child>
              <object class="GtkButton" id="display_control_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_display_control_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="doc_urls_dialog">
    <property name="title" translatable="yes">On Line Documentation</property>
    <child>
      <object class="GtkBox" id="dialog-vbox87">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="on_line_documentation_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_on_line_documentation_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame158">
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="edit_backbone_torsions_dialog">
    <property name="title" translatable="yes">Edit Backbone Torsions</property>
    <signal name="destroy" handler="on_edit_backbone_torsions_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox30">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox67">
                <child>
                  <object class="GtkButton" id="edit_backbone_torsion_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_edit_backbone_torsion_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="edit_backbone_torsion_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_edit_backbone_torsion_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame75">
            <child>
              <object class="GtkBox" id="vbox93">
                <property name="orientation">vertical</property>
                <property name="spacing">3</property>
                <child>
                  <object class="GtkFrame" id="frame82">
                    <child>
                      <object class="GtkScale" id="edit_backbone_torsions_rotate_peptide_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label301">
                        <property name="label" translatable="yes">Rotate Peptide</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame83">
                    <child>
                      <object class="GtkScale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label302">
                        <property name="label" translatable="yes">Rotate Carbonyl</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">[Add back the callbacks for value change]</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="edit_chi_angles_dialog">
    <property name="title" translatable="yes">Coot: Edit Chi Angles</property>
    <signal name="destroy" handler="on_edit_chi_angles_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox37">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox98">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label134">
                <property name="label" translatable="yes">Chi Angles Rotation Rotation Selection:</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow9">
                <property name="hexpand">1</property>
                <property name="vexpand">1</property>
                <property name="width-request">300</property>
                <property name="height-request">120</property>
                <child>
                  <object class="GtkViewport" id="viewport5">
                    <child>
                      <object class="GtkBox" id="edit_chi_angles_vbox">
                        <property name="orientation">vertical</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <!-- these are not needed now that the actions are on different buttons -->
            <!-- <child> -->
            <!--   <object class="GtkButton" id="edit_chi_angles_normal_rotation_button"> -->
            <!--     <property name="label" translatable="yes"> View Rotation Mode </property> -->
            <!--     <property name="margin-top">6</property> -->
            <!--     <property name="margin-bottom">6</property> -->
            <!--     <property name="margin-start">6</property> -->
            <!--     <property name="margin-end">6</property> -->
            <!--     <signal name="clicked" handler="on_edit_chi_angles_normal_rotation_button_clicked" swapped="no"/> -->
            <!--   </object> -->
            <!-- </child> -->
            <!-- <child> -->
            <!--   <object class="GtkButton" id="edit_chi_angles_help_button"> -->
            <!--     <property name="label" translatable="yes">Help me out here...</property> -->
            <!--     <property name="margin-top">6</property> -->
            <!--     <property name="margin-bottom">6</property> -->
            <!--     <property name="margin-start">6</property> -->
            <!--     <property name="margin-end">6</property> -->
            <!--     <signal name="clicked" handler="on_edit_chi_angles_help_button_clicked" swapped="no"/> -->
            <!--   </object> -->
            <!-- </child> -->

            <child>
              <object class="GtkCheckButton" id="edit_chi_angles_add_hydrogen_torsions_checkbutton">
                <property name="label" translatable="yes"> Use Hydrogen Atom Torsions</property>
                <property name="active">0</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="toggled" handler="on_edit_chi_angles_add_hydrogen_torsions_checkbutton_toggled" swapped="no"/>
              </object>
            </child>

            <child>
              <object class="GtkToggleButton" id="edit_chi_angles_reverse_fragment_togglebutton">
                <property name="label" translatable="yes">Reverse Fragment</property>
                <property name="active">0</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="toggled" handler="on_edit_chi_angles_reverse_fragment_togglebutton_toggled" swapped="no"/>
              </object>
            </child>

          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox71">
            <child>
              <object class="GtkButton" id="edit_chi_angles_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_edit_chi_angles_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="edit_chi_angles_dialog_ok_button">
                <property name="label" translatable="yes">  Accept  </property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_edit_chi_angles_dialog_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="environment_distance_dialog">
    <property name="title" translatable="yes">Coot Environment Distances</property>
    <child>
      <object class="GtkBox" id="dialog-vbox11">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox58">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame48">
                <child>
                  <object class="GtkCheckButton" id="environment_distance_checkbutton">
                    <property name="label" translatable="yes">Show Residue Environment?</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_environment_distance_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="environment_distance_distances_frame">
                <property name="sensitive">0</property>
                <child>
                  <object class="GtkBox" id="vbox59">
                    <property name="orientation">vertical</property>
                    <property name="spacing">2</property>
                    <child>
                      <object class="GtkLabel" id="label89">
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox46">
                        <child>
                          <object class="GtkLabel" id="label90">
                            <property name="label" translatable="yes">Min Dist. </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="environment_distance_min_entry">
                            <property name="max-width-chars">6</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label92">
                            <property name="label" translatable="yes">  Ångströms  </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox45">
                        <child>
                          <object class="GtkLabel" id="label91">
                            <property name="label" translatable="yes">Max Dist.</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="environment_distance_max_entry">
                            <property name="max-width-chars">6</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label93">
                            <property name="label" translatable="yes">  Ångströms  </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="environment_distance_label_atom_checkbutton">
                <property name="label" translatable="yes">Label Atom?</property>
                <property name="sensitive">0</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="toggled" handler="on_environment_distance_label_atom_checkbutton_toggled" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkButton" id="environment_distance_dialog_ok_button">
            <property name="label" translatable="yes">OK</property>
            <property name="can-focus">1</property>
            <signal name="clicked" handler="on_environment_distance_dialog_ok_button_clicked" swapped="no"/>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="export_map_file_chooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select Filename for Map Export</property>
    <property name="hide-on-close">true</property>
    <property name="action">save</property>
    <signal name="response" handler="on_export_map_file_chooser_dialog_response" swapped="no"/>
    <child type="action">
      <object class="GtkButton" id="export_map_file_chooser_dialog_button_cancel">
        <property name="label">Cancel</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="export_map_file_chooser_dialog_button_ok">
        <property name="label">OK</property>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">export_map_file_chooser_dialog_button_cancel</action-widget>
      <action-widget response="ok" default="true">export_map_file_chooser_dialog_button_ok</action-widget>
    </action-widgets>
  </object>

  <object class="GtkDialog" id="find_ligand_dialog">
    <property name="title" translatable="yes">Coot: Find Ligands</property>
    <child>
      <object class="GtkBox" id="dialog-vbox2">
        <property name="orientation">vertical</property>
        <property name="spacing">4</property>
        <child>
          <object class="GtkBox" id="vbox44">
            <property name="orientation">vertical</property>
            <property name="spacing">4</property>
            <child>
              <object class="GtkBox" id="vbox47">
                <property name="orientation">vertical</property>
                <!-- <child> -->
                <!--   <object class="GtkLabel" id="label75"> -->
                <!--     <property name="label" translatable="yes">Select Ligands to Search for:</property> -->
                <!--     <property name="justify">center</property> -->
                <!--   </object> -->
                <!-- </child> -->
                <child>
                  <object class="GtkFrame" id="frame37">
                    <property name="label" translatable="yes">Select Ligands to Search for:</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScrolledWindow" id="find_ligands_ligands_scrolledwindow">
                        <child>
                          <object class="GtkViewport" id="viewport16">
                            <!-- <child> -->
                            <!--   <object class="GtkBox" id="find_ligand_ligands_vbox"> -->
                            <!--     <property name="orientation">vertical</property> -->
                            <!--   </object> -->
                            <!-- </child> -->
                            <child>
                              <object class="GtkGrid" id="find_ligands_select_ligands_grid">
                              </object>
                            </child>

                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="vbox45">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <!-- <child> -->
                <!--   <object class="GtkLabel" id="label73"> -->
                <!--     <property name="label" translatable="yes">Select Map:</property> -->
                <!--   </object> -->
                <!-- </child> -->
                <child>
                  <object class="GtkFrame" id="frame35">
                    <property name="label" translatable="yes">Select Map:</property>

                    <child>
                      <object class="GtkComboBoxText" id="find_ligands_map_comboboxtext">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="vbox46">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>

                <!-- <child> -->
                <!--   <object class="GtkLabel" id="label74"> -->
                <!--     <property name="label" translatable="yes">Select Protein (Masks Map):</property> -->
                <!--     <property name="justify">center</property> -->
                <!--   </object> -->
                <!-- </child> -->

                <child>
                  <object class="GtkFrame">
                    <property name="label" translatable="yes">Select Protein (Masks Map):</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>

                    <child>
                      <object class="GtkComboBoxText" id="find_ligands_coords_comboboxtext">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame108">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <child type="label">
                  <object class="GtkLabel" id="label279">
                    <property name="label" translatable="yes">Mask Waters?</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="vbox112">
                    <property name="orientation">vertical</property>
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkCheckButton" id="find_ligand_mask_waters_yes_radiobutton">
                        <property name="label" translatable="yes">Treat waters like protein (mask) atoms</property>
                        <property name="active">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="find_ligand_mask_waters_no_radiobutton">
                        <property name="label" translatable="yes">Ignore waters for mask</property>
                        <property name="active">0</property>
                        <property name="group">find_ligand_mask_waters_yes_radiobutton</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame">
                <property name="label" translatable="yes">Where to Search?</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <child>
                  <object class="GtkBox">
                    <child>
                      <object class="GtkCheckButton" id="find_ligands_search_all_radiobutton">
                        <property name="label" translatable="yes">Everywhere</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">0</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkCheckButton" id="find_ligands_search_here_radiobutton">
                        <property name="label" translatable="yes">Right Here</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <property name="group">find_ligands_search_all_radiobutton</property>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame85">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <child>
                  <object class="GtkBox" id="hbox79">
                    <child>
                      <object class="GtkEntry" id="find_ligand_sigma_level_entry">
                        <property name="can-focus">1</property>
                        <property name="tooltip-text" translatable="yes">Used for blob analysis (set this to a high number (3 say) if you only want the most dense blobs to be considered as ligands</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label145">
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label280">
                    <property name="tooltip-text" translatable="yes">Used for blob analysis</property>
                    <property name="label" translatable="yes">r.m.s.d. Level</property>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="ligand_conformers_frame">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="label">Conformer Options</property>
                <child>
                  <object class="GtkBox">
                    <child>
                      <object class="GtkLabel" id="label261">
                        <property name="label" translatable="yes">  Number of Conformers to Search:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkEntry" id="ligand_n_samples_entry">
                        <property name="width-request">5</property>
                        <property name="can-focus">1</property>
                      </object>
                    </child>
                    
                  </object>
                </child>
              </object>
            </child>


            <child>
              <object class="GtkFrame" id="ligand_multi_solution_frame">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="label">Multi-Solution Options</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>

                    <child>
                      <object class="GtkCheckButton" id="find_ligand_multi_solution_checkbutton">
                        <property name="label" translatable="yes">Multi-Solutions</property>
                        <property name="active">0</property>
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkGrid">

                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> Fraction for Scoring </property>
                            <property name="justify">right</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">0</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="find_ligand_multi_solution_entry_1">
                            <property name="width-request">5</property>
                            <property name="can-focus">1</property>
                            <layout>
                              <property name="row">0</property>
                              <property name="column">1</property>
                            </layout>
                          </object>
                        </child>
                        
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> Fraction for Correlation </property>
                            <property name="justify">right</property>
                            <layout>
                              <property name="row">1</property>
                              <property name="column">0</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="find_ligand_multi_solution_entry_2">
                            <property name="width-request">5</property>
                            <property name="can-focus">1</property>
                            <layout>
                              <property name="row">1</property>
                              <property name="column">1</property>
                            </layout>
                          </object>
                        </child>

                      </object>
                    </child>

                   </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkFrame" id="ligand_fitting_post_fit_options">
                <property name="label">Post-Fit Options</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>

                <child>
                  <object class="GtkCheckButton" id="find_ligand_real_space_refine_solutions_checkbutton">
                    <property name="label" translatable="yes">Real Space Refine Solutions</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="active">1</property>
                  </object>
                </child>

              </object>
            </child>
            
            <child>
              <object class="GtkFrame" id="ligand_expert_frame">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <child>
                  <object class="GtkBox" id="vbox166">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkGrid">
                        <child>
                          <object class="GtkLabel" id="label262">
                            <property name="label" translatable="yes">  Search Number of Top Sites:        </property>
                            <property name="justify">center</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="ligand_n_top_ligands_entry">
                            <property name="width-request">5</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox131">
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox132">
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label281">
                    <property name="label" translatable="yes">Expert Options</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox35">
            <property name="homogeneous">1</property>
            <property name="spacing">4</property>
            <child>
              <object class="GtkBox" id="hbox36">
                <property name="homogeneous">1</property>
                <property name="spacing">4</property>
                <child>
                  <object class="GtkButton" id="button4">
                    <property name="label" translatable="yes">Cancel</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_find_ligand_cancel_button_clicked" swapped="no"/>
                    <property name="margin-start">8</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">8</property>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="find_ligand_ok_button">
                    <property name="label" translatable="yes">Find Ligands</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_find_ligand_ok_button_clicked" swapped="no"/>
                    <property name="margin-start">4</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">8</property>
                    <style>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="find_ligand_many_atoms_dialog">
    <property name="title" translatable="yes">May Atoms in Ligand Check</property>
    <child>
      <object class="GtkBox" id="dialog-vbox3">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox37">
                <child>
                  <object class="GtkButton" id="find_ligand_many_atoms_cancel_button">
                    <property name="label" translatable="yes">Cancel</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_find_ligand_many_atoms_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="find_ligand_many_atoms_continue_button">
                    <property name="label" translatable="yes">Continue</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_find_ligand_many_atoms_continue_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame38">
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkLabel" id="label76">
                <property name="label" translatable="yes">One or more of the selected ligands has
unexpectedly many atoms.

This is an opportunity for you to reflect on that...

Do you want to continue?
</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="find_waters_dialog">
    <property name="title" translatable="yes">Coot: Find Waters</property>
    <child>
      <object class="GtkBox" id="dialog-vbox10">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox54">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame44">
                <child>
                  <object class="GtkBox" id="find_waters_map_vbox">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <child>
                      <object class="GtkLabel" id="label85">
                        <property name="label" translatable="yes">Select Map:</property>
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkComboBoxText" id="find_waters_map_combobox">
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame45">
                <child>
                  <object class="GtkBox" id="find_waters_protein_vbox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label86">
                        <property name="label" translatable="yes">Select Protein (which Masks Map):</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkComboBoxText" id="find_waters_molecule_combobox">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame46">
                <child>
                  <object class="GtkBox" id="vbox57">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <child>
                      <object class="GtkLabel" id="label87">
                        <property name="label" translatable="yes">Find Peaks above:</property>
                        <property name="justify">center</property>
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox44">
                        <child>
                          <object class="GtkEntry" id="find_waters_peak_level_entry">
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label88">
                            <property name="label" translatable="yes"> r.m.s.d. </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame63">
                <child>
                  <object class="GtkBox" id="vbox80">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <child>
                      <object class="GtkLabel" id="label108">
                        <property name="label" translatable="yes">Waters should be:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0.03</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="water_mol_protein_mask_radiobutton">
                        <property name="label" translatable="yes">Added to Molecule that masks the map</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="water_mol_new_mol_radiobutton">
                        <property name="label" translatable="yes">A new &quot;Waters&quot; molecule</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">water_mol_protein_mask_radiobutton</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child type="action">
          <object class="GtkBox" id="hbox43">
            <property name="spacing">10</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkButton" id="find_waters_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_find_waters_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="find_waters_ok_button">
                <property name="label" translatable="yes">Find Waters</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_find_waters_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        
      </object>
    </child>
  </object>


  <object class="GtkDialog" id="fixed_atom_dialog">
    <property name="title" translatable="yes">Fixed Atoms for Refinement</property>
    <signal name="close" handler="on_fixed_atom_dialog_close" swapped="no"/>
    <signal name="response" handler="on_fixed_atom_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="fixed_atom_dialog_close_button">
                <property name="label" translatable="yes">Close</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkToggleButton" id="fixed_atom_dialog_fix_atom_togglebutton">
                <property name="label" translatable="yes">Fix Atom</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <signal name="toggled" handler="on_fixed_atom_dialog_fix_atom_togglebutton_toggled" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkToggleButton" id="fixed_atom_dialog_unfix_atom_togglebutton">
                <property name="label" translatable="yes">Unfix Atom</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <signal name="toggled" handler="on_fixed_atom_dialog_unfix_atom_togglebutton_toggled" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="fixed_atom_dialog_clear_all_fixed_atoms_button">
                <property name="label" translatable="yes">Clear All Fixed Atoms</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <signal name="clicked" handler="on_fixed_atom_dialog_clear_all_fixed_atoms_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="fps_window">
    <property name="title" translatable="yes">fps_window</property>
    <child>
      <object class="GtkBox" id="vbox6">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label9">
            <property name="label" translatable="yes">Show Frames Per Second?</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame5">
            <child>
              <object class="GtkBox" id="vbox7">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="radiobutton1">
                    <property name="label" translatable="yes">Yes</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="radiobutton2">
                    <property name="label" translatable="yes">No</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="active">1</property>
                    <property name="group">radiobutton1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="fps_window_ok_button">
            <property name="label" translatable="yes">OK</property>
            <property name="can-focus">1</property>
            <signal name="clicked" handler="on_fps_window_ok_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="general_coot_molecule_chooser_dialog">
    <signal name="close" handler="on_general_coot_molecule_chooser_dialog_close" swapped="no"/>
    <signal name="response" handler="on_general_coot_molecule_chooser_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox" id="general_coot_molecule_chooser_vbox">
        <property name="halign">center</property>
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="general_coot_molecule_choose">
                <property name="name">general_coot_molecule_chooser_label</property>
                <property name="label" translatable="yes">some_calller_defined_label_here</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText">
                <property name="name">general_coot_molecule_chooser_comboboxtext</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="general_coot_molecule_chooser_with_entry_and_checkbutton_dialog">
    <signal name="close" handler="on_general_coot_molecule_chooser_with_entry_and_checkbutton_dialog_close" swapped="no"/>
    <signal name="response" handler="on_general_coot_molecule_chooser_with_entry_and_checkbutton_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox" id="general_coot_molecule_chooser_with_entry_and_checkbutton_vbox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="general_coot_molecule_chooser_with_entry_and_checkbutton_lablel">
                <property name="label" translatable="yes">callerlabelhere</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="general_coot_molecule_chooser_with_entry_and_checkbutton_comboboxtext">
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <property name="spacing">8</property>
                <child>
                  <object class="GtkLabel" id="general_coot_molecule_chooser_with_entry_and_checkbutton_label_for_entry">
                    <property name="label" translatable="yes"> label </property>
                  </object>
                </child>
                <child>
                  <object class="GtkEntry" id="general_coot_molecule_chooser_with_entry_and_checkbutton_entry">
                    <property name="can-focus">1</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="general_coot_molecule_chooser_with_entry_and_checkbutton_checkbutton">
                <property name="label" translatable="yes">checkbutton</property>
                <property name="can-focus">1</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="generate_diff_map_peaks_dialog">
    <property name="title" translatable="yes">Coot: Difference Map Peak Analysis</property>
    <child>
      <object class="GtkBox" id="dialog-vbox79">
        <property name="orientation">vertical</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkFrame" id="frame138">
            <child>
              <object class="GtkBox" id="vbox141">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame139">
                    <child>
                      <object class="GtkBox" id="generate_diff_map_peaks_map_vbox">
                        <property name="orientation">vertical</property>

                        <child>
                          <object class="GtkFrame" id="no_difference_maps_frame1">
                            <child>
                              <object class="GtkLabel" id="label227">
                                <property name="label" translatable="yes">WARNING:: No Difference Maps Available!</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>

                        <child>
                           <object class="GtkComboBoxText" id="generate_diff_map_peaks_map_combobox">
                           </object>
                        </child>

                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label310">
                        <property name="label" translatable="yes">Select Difference Map</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="generate_diff_map_peaks_model_frame">
                    <child>
                      <object class="GtkBox" id="generate_diff_map_peaks_model_vbox">
                        <property name="orientation">vertical</property>

                        <child>
                          <object class="GtkFrame" id="generate_diff_maps_peaks_no_models_frame">
                            <child>
                              <object class="GtkLabel" id="label228">
                                <property name="label" translatable="yes">WARNING:: No Models Available</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>

                        <child>
                           <object class="GtkComboBoxText" id="generate_diff_map_peaks_molecule_combobox">
                          </object>
                        </child>

                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label311">
                        <property name="label" translatable="yes">Select Model</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame141">
                    <child>
                      <object class="GtkBox" id="hbox117">
                        <child>
                          <object class="GtkLabel" id="label229">
                            <property name="label" translatable="yes">  Find Peaks above </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="generate_diff_map_peaks_sigma_level_entry">
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label230">
                            <property name="label" translatable="yes">  r.m.s.d.    </property>
                            <property name="justify">center</property>
                            <property name="margin-start">4</property>
                            <property name="margin-end">4</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label312">
                        <property name="label" translatable="yes">r.m.s.d. Level</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="negative_level_frame">
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkBox" id="vbox165">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkCheckButton" id="generate_diff_map_peaks_positive_level_checkbutton">
                            <property name="label" translatable="yes">Find Positive Peaks?</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="active">1</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="generate_diff_map_peaks_negative_level_checkbutton">
                            <property name="label" translatable="yes">Find Negative Peaks Also?</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="active">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label313">
                        <property name="label" translatable="yes">Which Peaks?</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
           <object class="GtkSeparator">
           </object>
        </child>
        <child type="action">
              <object class="GtkBox" id="hbox116">
                 <property name="margin-start">4</property>
                 <property name="margin-end">4</property>
                 <property name="margin-top">4</property>
                 <property name="margin-bottom">4</property>
                <child>
                  <object class="GtkButton" id="generate_diff_map_peaks_cancel_button">
                     <property name="label" translatable="yes">  Cancel  </property>
                     <property name="can-focus">1</property>
                     <property name="margin-start">6</property>
                     <property name="margin-end">6</property>
                     <property name="margin-top">4</property>
                     <property name="margin-bottom">4</property>
                     <signal name="clicked" handler="on_generate_diff_map_peaks_cancel_button_clicked" swapped="no"/>
                     <!-- <style> -->
                     <!--    <class name="custom-button"/> -->
                     <!-- </style> -->
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="generate_diff_map_peaks_ok_button">
                     <property name="label" translatable="yes">      OK      </property>
                     <property name="can-focus">1</property>
                     <property name="margin-start">6</property>
                     <property name="margin-end">6</property>
                     <property name="margin-top">4</property>
                     <property name="margin-bottom">4</property>
                     <signal name="clicked" handler="on_generate_diff_map_peaks_ok_button_clicked" swapped="no"/>
                     <style>
                        <class name="suggested-action"/>
                     </style>
                  </object>
                </child>
              </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="generic_objects_dialog">
    <property name="title" translatable="yes">Coot: Generic Objects</property>
    <property name="default-width">400</property>
    <property name="default-height">360</property>
    <signal name="response" handler="on_generic_objects_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkBox">
                <child>
                  <object class="GtkToggleButton" id="generic_objects_display_all_togglebutton">
                    <property name="label" translatable="yes">Display/Undisplay All</property>
                    <property name="active">1</property>
                    <property name="can-focus">0</property>
                    <property name="receives-default">1</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">8</property>
                    <property name="margin-bottom">2</property>
                    <signal name="toggled" handler="on_generic_objects_display_all_togglebutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="generic_objects_scrolledwindow">
                <property name="can-focus">1</property>
                <property name="hexpand">1</property>
                <property name="vexpand">1</property>
                <property name="propagate-natural-width">1</property>
                <child>
                  <object class="GtkViewport">
                    <child>
                      <object class="GtkGrid" id="generic_objects_dialog_grid">
                        <property name="width-request">350</property>
                        <property name="height-request">80</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                        <property name="row-spacing">4</property>
                        <property name="column-spacing">4</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <child>
                  <object class="GtkButton" id="generic_objects_close_all_button">
                    <property name="label" translatable="yes">Delete All Generic Display Objects</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">2</property>
                    <property name="margin-bottom">2</property>
                    <signal name="clicked" handler="on_generic_objects_close_all_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkButton" id="generic_objects_dialog_close_button">
            <property name="label">Close</property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <signal name="clicked" handler="on_generic_objects_dialog_close_button_clicked"/>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkWindow" id="global_map_properties_window">
    <property name="title" translatable="yes">Coot: Global Map Properties</property>
    <child>
      <object class="GtkBox" id="map_properties_vbox">
        <property name="orientation">vertical</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>
        <property name="margin-top">6</property>
        <property name="margin-bottom">6</property>

        
        <child>
          <object class="GtkGrid" id="edit_map_parameters_grid">

            <child>
              <object class="GtkLabel" id="label6">
                <property name="label" translatable="yes">Map Radius x-ray: </property>
                <property name="justify">center</property>
                <property name="margin-start">2</property>
                <property name="margin-end">2</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkEntry" id="map_parameters_x_ray_radius_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="margin-start">2</property>
                <property name="margin-end">2</property>
                <property name="secondary-icon-activatable">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkLabel" id="label7">
                <property name="label" translatable="yes">Ångströms</property>
                <property name="justify">center</property>
                <property name="margin-start">2</property>
                <property name="margin-end">2</property>
                <layout>
                  <property name="column">2</property>
                  <property name="row">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="map_radius_x_ray_apply_button">
                <property name="label" translatable="yes">  Apply  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <property name="margin-start">2</property>
                <property name="margin-end">2</property>
                <property name="margin-top">2</property>
                <property name="margin-bottom">2</property>
                <layout>
                  <property name="column">3</property>
                  <property name="row">0</property>
                </layout>
                <signal name="clicked" handler="on_map_radius_x_ray_apply_button_clicked" swapped="no"/>
              </object>
            </child>

            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Map Radius EM: </property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">1</property>
                </layout>
              </object>
            </child>
            
            <child>
              <object class="GtkEntry" id="map_parameters_em_radius_entry">
                <property name="can-focus">1</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">1</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Ångströms</property>
                <layout>
                  <property name="column">2</property>
                  <property name="row">1</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkButton" id="map_radius_em_apply_button">
                <property name="label" translatable="yes">Apply</property>
                <property name="margin-start">2</property>
                <property name="margin-end">2</property>
                <property name="margin-top">2</property>
                <property name="margin-bottom">2</property>
                <layout>
                  <property name="column">3</property>
                  <property name="row">1</property>
                </layout>
                <signal name="clicked" handler="on_map_radius_em_apply_button_clicked" swapped="no"/>
              </object>
            </child>

            <child>
              <object class="GtkLabel" id="label32">
                <property name="label" translatable="yes">Increment Size</property>
                <property name="justify">center</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">2</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="iso_level_increment_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">2</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label33">
                <property name="label" translatable="yes">e/Å³</property>
                <property name="justify">center</property>
                <layout>
                  <property name="column">2</property>
                  <property name="row">2</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkLabel" id="label34">
                <property name="label" translatable="yes">Diff Map Increment </property>
                <property name="justify">center</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">3</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="diff_map_iso_level_increment_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">3</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label35">
                <property name="label" translatable="yes">e/Å³</property>
                <property name="justify">center</property>
                <layout>
                  <property name="column">2</property>
                  <property name="row">3</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkLabel" id="label84">
                <property name="label" translatable="yes">Sampling Rate: </property>
                <property name="justify">center</property>
                <layout>
                  <property name="column">0</property>
                  <property name="row">4</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkEntry" id="map_sampling_rate_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
                <layout>
                  <property name="column">1</property>
                  <property name="row">4</property>
                </layout>
              </object>
            </child>
            
          </object>
        </child> <!-- end the grid -->

        <child>
          <object class="GtkFrame" id="frame49">
            <child>
              <object class="GtkBox" id="vbox61">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="map_dynamic_map_sampling_checkbutton">
                    <property name="label" translatable="yes">Dynamic Map Sampling</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_map_dynamic_map_sampling_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="map_dynamic_map_size_display_checkbutton">
                    <property name="label" translatable="yes">Dynamic Map Display Size</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_map_dynamic_map_size_display_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox6">
            <child>
              <object class="GtkButton" id="density_cancel">
                <property name="label">Close</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_density_cancel_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="density_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_density_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="goto_atom_window">
    <property name="title" translatable="yes">Coot: Go To Atom...</property>
    <signal name="destroy" handler="on_goto_atom_window_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="vbox33">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkFrame" id="frame30">
            <child>
              <object class="GtkBox" id="vbox34">
                <property name="orientation">vertical</property>
                <property name="spacing">2</property>
                <child>
                  <object class="GtkLabel" id="label39">
                    <property name="label" translatable="yes">Define an Atom for Centering:</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="vbox35">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkBox" id="hbox23">
                        <property name="spacing">2</property>
                        <property name="margin-start">44</property>
                        <property name="margin-end">4</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <child>
                          <object class="GtkLabel" id="label40">
                            <property name="label" translatable="yes">Molecule: </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="go_to_atom_molecule_combobox">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkGrid" id="go_to_atom_attributes_grid">
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <child>
                          <object class="GtkEntry" id="go_to_atom_chain_entry">
                            <property name="width-request">10</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">0</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="go_to_atom_residue_entry">
                            <property name="width-request">10</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="go_to_atom_atom_name_entry">
                            <property name="width-request">10</property>
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">2</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label41">
                            <property name="label" translatable="yes"> Chain</property>
                            <property name="justify">center</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">0</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label42">
                            <property name="label" translatable="yes"> Residue Number</property>
                            <property name="justify">center</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label43">
                            <property name="label" translatable="yes"> Atom Name</property>
                            <property name="justify">center</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">2</property>
                            </layout>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="update_go_to_atom_from_current_position_button">
                            <property name="label" translatable="yes">Update from Current Postion</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="clicked" handler="on_update_go_to_atom_from_current_position_button_clicked" swapped="no"/>
                            <layout>
                              <property name="column">2</property>
                              <property name="row">0b</property>
                            </layout>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame59">
            <property name="height-request">179</property>
            <child>
              <object class="GtkBox" id="go_to_atom_model_view_hbox">
                <property name="spacing">4</property>
                <child>
                  <object class="GtkScrolledWindow" id="go_to_atom_residue_scrolledwindow">
                    <property name="hexpand">1</property>
                    <property name="vexpand">1</property>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="go_to_atom_atom_scrolledwindow">
                    <property name="vexpand">1</property>
                    <property name="hexpand">1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="go_to_atom_checkbuttons_vbox">
            <property name="orientation">horizontal</property>
            <child>
              <object class="GtkCheckButton" id="go_to_atom_show_waters_checkbutton">
                <signal name="toggled" handler="on_go_to_atom_show_waters_checkbutton_toggled" swapped="no"/>
                <property name="label" translatable="yes">Show Waters</property>
                <property name="active">0</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="go_to_atom_show_ligands_only_checkbutton">
                <signal name="toggled" handler="on_go_to_atom_show_ligands_only_checkbutton_toggled" swapped="no"/>
                <property name="label" translatable="yes">Ligands Only</property>
                <property name="active">0</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkButton" id="go_to_atom_next_residue_button">
            <property name="label" translatable="yes">Next Residue</property>
            <property name="can-focus">1</property>
            <property name="margin-start">10</property>
            <property name="margin-end">10</property>
            <property name="margin-top">2</property>
            <property name="margin-bottom">2</property>
            <signal name="clicked" handler="on_go_to_atom_next_residue_button_clicked" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="go_to_atom_previous_residue_button">
            <property name="label" translatable="yes">Previous Residue</property>
            <property name="can-focus">1</property>
            <property name="margin-start">10</property>
            <property name="margin-end">10</property>
            <property name="margin-top">2</property>
            <property name="margin-bottom">2</property>
            <signal name="clicked" handler="on_go_to_atom_previous_residue_button_clicked" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox22">
            <property name="spacing">4</property>
            <property name="homogeneous">1</property>
            <child>
              <object class="GtkButton" id="go_to_atom_cancel_button">
                <property name="label" translatable="yes"> Close </property>
                <property name="can-focus">1</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <signal name="clicked" handler="on_go_to_atom_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="go_to_atom_apply_button">
                <property name="label" translatable="yes"> Apply </property>
                <property name="can-focus">1</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <signal name="clicked" handler="on_go_to_atom_apply_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="hints_dialog">
    <property name="title" translatable="yes">Hints</property>
    <child>
      <object class="GtkBox" id="dialog-vbox15">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="hints_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_hints_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow5">
            <property name="hscrollbar-policy">never</property>
            <child>
              <object class="GtkTextView" id="hints_text">
                <property name="can-focus">1</property>
                <property name="editable">0</property>
                <property name="wrap-mode">word</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkImage" id="image1">
  </object>
  <object class="GtkImage" id="image18">
  </object>
  <object class="GtkImage" id="image19">
  </object>
  <object class="GtkImage" id="image21">
  </object>
  <object class="GtkImage" id="image22">
  </object>
  <object class="GtkImage" id="image23">
  </object>
  <object class="GtkImage" id="image24">
  </object>
  <object class="GtkImage" id="image25">
  </object>
  <object class="GtkImage" id="image26">
  </object>
  <object class="GtkImage" id="image27">
  </object>
  <object class="GtkImage" id="image28">
  </object>
  <object class="GtkImage" id="image29">
  </object>
  <object class="GtkImage" id="image30">
  </object>
  <object class="GtkImage" id="image31">
  </object>
  <object class="GtkImage" id="image32">
  </object>
  <object class="GtkImage" id="image34">
    <property name="use-fallback">1</property>
  </object>
  <object class="GtkImage" id="image35">
    <property name="use-fallback">1</property>
  </object>
  <object class="GtkImage" id="image36">
    <property name="use-fallback">1</property>
  </object>
  <object class="GtkImage" id="image37">
  </object>


  <!-- this vbox goes into the main application window -->
  <object class="GtkBox" id="main_window_vbox">
    <property name="orientation">vertical</property>

    <child>
        <object class="GtkBox" id="main_window_toolbar_hbox_outer">
        <property name="orientation">horizontal</property>
          <child>
            <object class="GtkBox" id="main_window_toolbar_hbox">
              <property name="orientation">horizontal</property>
              <style>
                <class name="toolbar"/>
              </style>
              <child>
                <object class="GtkButton" id="toolbar_reset_view_button">
                  <property name="can-focus">0</property>
                  <child>
                    <object class="GtkBox">
                      <property name="orientation">vertical</property>
                      <property name="spacing">5</property>
                      <property name="halign">start</property>
                      <child>
                        <object class="GtkImage">
                          <property name="icon-name">reset-view</property>
                        </object>
                      </child>
                      <child>
                        <object class="GtkLabel">
                          <property name="label" translatable="yes">Reset View</property>
                        </object>
                      </child>
                    </object>
                  </child>
                  <signal name="clicked" handler="reset_view" swapped="no"/>
                  <!-- <child> -->
                  <!--   <object class="GtkImage"> -->
                  <!--     <property name="icon-name">"reset-view.png"</property> -->
                  <!--   </object> -->
                  <!-- </child> -->
                </object>
              </child>
              <child>
                <object class="GtkButton" id="toolbar_display_manager_button">
                  <property name="can-focus">0</property>
                  <child>
                    <object class="GtkBox">
                      <property name="orientation">vertical</property>
                      <property name="spacing">5</property>
                      <property name="halign">start</property>
                      <child>
                        <object class="GtkImage">
                          <property name="icon-name">display-manager</property>
                        </object>
                      </child>
                      <child>
                        <object class="GtkLabel">
                          <property name="label" translatable="yes">Display Manager</property>
                        </object>
                      </child>
                    </object>
                  </child>
                  <signal name="clicked" handler="on_map_and_mol_control1_activate" swapped="no"/>
                </object>
              </child>

              <child>
                <object class="GtkButton" id="go_to_atom_button">
                  <property name="can-focus">0</property>
                  <child>
                    <object class="GtkBox">
                      <property name="orientation">vertical</property>
                      <property name="spacing">5</property>
                      <property name="halign">start</property>
                      <child>
                        <object class="GtkImage">
                          <property name="icon-name">go-to-atom</property>
                        </object>
                      </child>
                      <child>
                        <object class="GtkLabel">
                          <property name="label" translatable="yes">Go to Atom...</property>
                        </object>
                      </child>
                    </object>
                  </child>
                  <signal name="clicked" handler="on_go_to_atom_button_clicked" swapped="no"/>
                </object>
              </child>

              <child>
                <object class="GtkButton" id="go_to_ligand_button">
                  <property name="can-focus">0</property>
                  <child>
                    <object class="GtkBox">
                      <property name="orientation">vertical</property>
                      <property name="spacing">5</property>
                      <property name="halign">start</property>
                      <child>
                        <object class="GtkImage">
                          <property name="icon-name">go-to-ligand</property>
                        </object>
                      </child>
                      <child>
                        <object class="GtkLabel">
                          <property name="label" translatable="yes">Go to (Next) Ligand</property>
                        </object>
                      </child>
                    </object>
                  </child>
                  <signal name="clicked" handler="on_go_to_ligand_button_clicked" swapped="no"/>
                </object>
              </child>

              <child>
                <object class="GtkButton" id="graphics-grab-focus-button">
                  <property name="label" translatable="yes">Grab Focus</property>
                  <property name="can-focus">0</property>
                  <signal name="clicked" handler="on_graphics_grab_focus_button_clicked" swapped="no"/>
                </object>
              </child>

              <child>
                <object class="GtkButton" id="coot-points-button">
                  <property name="label" translatable="yes">Coot Points</property>
                  <property name="can-focus">0</property>
                  <property name="visible">False</property>
                  <signal name="clicked" handler="on_coot_points_button_clicked" swapped="no"/>
                </object>
              </child>

              <child>
                <object class="GtkMenuButton" id="simple_mutate_menubutton">
                  <property name="label" translatable="yes">Mutate</property>
                  <property name="tooltip-text">Mutate Residue at the centre of the screen</property>
                  <property name="can-focus">0</property>
                  <property name="margin-start">6</property>
                  <property name="visible">False</property>
                </object>
              </child>
            </object>
          </child>

          <child>
            <object class="GtkBox" id="main_window_toolbar_hbox_end">
              <property name="orientation">horizontal</property>
              <style>
                <class name="toolbar"/>
              </style>
              <child>
                <object class="GtkLabel" id="toolbar_expander">
                  <property name="label" translatable="no"></property>
                  <property name="can-focus">0</property>
                  <property name="hexpand">True</property>
                </object>
              </child>

              <child>
                <object class="GtkMenuButton" id="add_module_menubutton">
                  <property name="label" translatable="yes">+</property>
                  <property name="tooltip-text">Load an extension module</property>
                  <property name="can-focus">0</property>
                  <!-- <signal name="clicked" handler="on_add_module_menubutton_clicked" swapped="no"/> -->
                  <property name="margin-start">6</property>
                  <property name="halign">end</property>
                </object>
              </child>

              <child>
                <object class="GtkButton" id="python_scripting_button">
                  <property name="can-focus">0</property>
                  <signal name="clicked" handler="on_python_scripting_button" swapped="no"/>
                  <property name="margin-start">2</property>
                  <property name="halign">end</property> 
                  <child>
                    <object class="GtkBox">
                      <property name="orientation">vertical</property>
                      <property name="spacing">2</property>
                      <child>
                        <object class="GtkLabel">
                          <property name="label" translatable="yes">Py</property>
                        </object>
                      </child>
                      <child>
                        <object class="GtkImage">
                          <property name="icon-name">python-logo</property>
                        </object>
                      </child>
                    </object>
                  </child>
                </object>
              </child>

            </object>
          </child>
        </object>
    </child>

    <child>
      <object class="GtkBox" id="main_window_hbox">
        <child>
          <object class="GtkOverlay" id="main_window_graphics_overlay">
            <property name="visible">True</property>
            <property name="can_focus">True</property>

            <child>
              <object class="GtkPaned" id="main_window_graphics_rama_vs_graphics_pane">
                <property name="position">1</property>
                <property name="orientation">horizontal</property>

                <child>
                  <object class="GtkPaned" id="main_window_ramchandran_and_validation_pane">
                    <property name="position">111</property>
                    <property name="visible">False</property>
                    <property name="orientation">vertical</property>

                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkScrolledWindow" id="ramachandran_plots_scrolled_window">
                            <child>
                              <object class="GtkBox" id="ramachandran_plots_vbox">
                                <property name="orientation">vertical</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>

                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkFrame" id="main_window_vertical_validation_frame">
                            <property name="hexpand">True</property>
                            <property name="vexpand">True</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>

                            <child>
                              <!-- difference map peaks and unmodelled blobs "dialogs" should go here -->
                              <object class="GtkBox" id="validation_boxes_vbox">
                                <property name="orientation">vertical</property>

                                <child>
                                  <object class="GtkBox" id="dialog-vbox78">
                                    <property name="visible">False</property>
                                    <property name="orientation">vertical</property>
                                    <child>
                                      <object class="GtkScrolledWindow" id="scrolledwindow18">
                                        <property name="vexpand">1</property>
                                        <property name="hexpand">1</property>
                                        <property name="height-request">180</property>
                                        <property name="width-request">360</property>
                                        <child>
                                          <object class="GtkViewport" id="diff_map_peaks_dialog_peaks_viewport">
                                            <child>
                                              <object class="GtkBox" id="diff_map_peaks_vbox">
                                                <property name="vexpand">1</property>
                                                <property name="hexpand">1</property>
                                                <property name="orientation">vertical</property>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkButton" id="diff_map_peaks_update_button">
                                        <property name="label" translatable="yes">Update</property>
                                        <property name="can-focus">1</property>
                                        <property name="receives-default">1</property>
                                        <property name="margin-top">6</property>
                                        <property name="margin-bottom">6</property>
                                        <property name="margin-start">6</property>
                                        <property name="margin-end">6</property>
                                        <signal name="clicked" handler="on_diff_map_peaks_update_button_clicked" swapped="no"/>
                                      </object>
                                    </child>
                                    <child type="action">
                                      <object class="GtkButton" id="diff_map_peaks_close_button">
                                        <property name="label" translatable="yes">Close</property>
                                        <property name="can-focus">1</property>
                                        <property name="margin-top">6</property>
                                        <property name="margin-bottom">6</property>
                                        <property name="margin-start">6</property>
                                        <property name="margin-end">6</property>
                                        <signal name="clicked" handler="on_diff_map_peaks_close_button_clicked" swapped="no"/>
                                      </object>
                                    </child>
                                  </object>
                                </child>

                                <child>
                                  <object class="GtkBox" id="dynamic_validation_vbox">
                                    <property name="visible">False</property>
                                    <property name="orientation">vertical</property>
                                    <property name="margin-bottom">2</property>
                                    <property name="margin-end">2</property>
                                    <property name="margin-start">2</property>
                                    <property name="margin-top">2</property>

                                    <child>
                                      <object class="GtkLabel" id="dynamic_validation_outliers_label">
                                        <property name="label" translatable="yes">Outlier Count: -</property>
                                        <property name="justify">left</property>
                                      </object>
                                    </child>

                                    <child>
                                      <object class="GtkScrolledWindow">
                                        <property name="vexpand">True</property>
                                        <child>
                                          <object class="GtkBox" id="dynamic_validation_outliers_vbox">
                                            <property name="orientation">vertical</property>
                                          </object>
                                        </child>
                                      </object>
                                    </child>

                                    <child>
                                      <object class="GtkCheckButton" id="dynamic_validation_include_missing_sidechains_checkbutton">
                                        <property name="label" translatable="yes">Include Missing Sidechains</property>
                                        <property name="active">0</property>
                                        <property name="visible">False</property>
                                        <signal name="toggled" handler="on_dynamic_validation_include_missing_sidechains_checkbutton_toggled" swapped="no"/>
                                      </object>
                                    </child>

                                    <child>
                                      <object class="GtkButton" id="dynamic_validation_update_button">
                                        <property name="label">Update</property>
                                        <property name="margin-bottom">6</property>
                                        <property name="margin-end">6</property>
                                        <property name="margin-start">4</property>
                                        <property name="margin-top">4</property>
                                        <signal name="clicked" handler="on_dynamic_validation_update_button_clicked" swapped="no"/>
                                      </object>
                                    </child>

                                    <child>
                                      <object class="GtkButton" id="dynamic_validation_close_button">
                                        <property name="label">Close</property>
                                        <property name="margin-bottom">6</property>
                                        <property name="margin-end">6</property>
                                        <property name="margin-start">4</property>
                                        <property name="margin-top">4</property>
                                        <signal name="clicked" handler="on_dynamic_validation_close_button_clicked" swapped="no"/>
                                      </object>
                                    </child>

                                  </object>
                                </child>
                              </object>
                            </child>

                          </object>
                        </child>

                      </object>
                    </child>

                  </object>
                </child>

                <!-- container for the GTKGLArea -->

                <child>
                  <object class="GtkPaned" id="main_window_graphics_validation_graphs_vs_graphics_pane">
                    <property name="position">660</property>
                    <property name="orientation">vertical</property>

                    <child>
                      <object class="GtkBox" id="main_window_graphics_vbox">
                        <property name="orientation">vertical</property>

                        <child>
                          <object class="GtkPaned" id="main_window_sequence_view_vs_graphics_pane">
                            <property name="orientation">vertical</property>
                            <property name="wide-handle">true</property>

                            <child>
                              <object class="GtkBox" id="main_window_sequence_view_box">
                                <property name="orientation">horizontal</property>
                                <property name="visible">False</property>
                              </object>
                            </child>

                            <child>
                              <object class="GtkBox" id="graphics_and_tomo_slider_vbox">
                                <property name="orientation">vertical</property>

                                <child>
                                  <object class="GtkBox" id="main_window_graphics_hbox">
                                    <property name="orientation">horizontal</property>
                                    <!-- This is where the GTKGLArea is placed at runtime -->
                                  </object>
                                </child>

                                <child>
                                  <object class="GtkBox" id="tomo_slider_vbox">
                                    <property name="orientation">vertical</property>
                                    <property name="visible">False</property>

                                    <child>
                                      <object class="GtkScale" id="tomo_scale">
                                        <property name="margin-start">10</property>
                                        <property name="margin-end">10</property>
                                        <property name="round-digits">1</property>
                                        <property name="can_focus">False</property>
                                      </object>
                                    </child>

                                  </object>
                                </child>

                              </object>
                            </child>

                          </object>
                        </child>

                      </object>
                    </child>


                    <child>
                      <object class="GtkFrame" id="main_window_validation_graph_frame">
                        <!-- <property name="halign">fill</property> -->
                        <!-- <property name="valign">end</property> -->
                        <property name="hexpand">True</property>
                        <property name="vexpand">True</property>
                        <property name="visible">False</property>
                        <property name="margin-bottom">5</property>
                        <property name="margin-end">5</property>
                        <property name="margin-start">5</property>
                        <property name="margin-top">5</property>

                        <child>
                          <object class="GtkScrolledWindow">
                            <property name="hexpand">True</property>
                            <property name="vexpand">True</property>
                            <child>
                              <object class="GtkBox" id="main_window_validation_graph_box">
                                <property name="orientation">vertical</property>
                                <property name="hexpand">True</property>
                                <property name="vexpand">True</property>
                                <property name="spacing">5</property>
                              </object>
                            </child>
                          </object>
                        </child>

                      </object>
                    </child>

                  </object>
                </child>

              </object>
            </child>


            <child type="overlay">
              <object class="GtkFrame" id="replace_residue_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <property name="margin-bottom">5</property>
                <property name="margin-end">5</property>
                <property name="margin-start">5</property>
                <property name="margin-top">5</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkBox">
                        <child>
                          <object class="GtkLabel">
                            <property name="label">New Residue Type</property>
                            <property name="margin-end">5</property>
                            <property name="margin-start">5</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="replace_residue_entry">
                            <property name="can-focus">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="replace_residue_buttons_frame">
                        <child>
                          <object class="GtkBox">
                            <property name="homogeneous">True</property>
                            <property name="spacing">5</property>
                            <child>
                              <object class="GtkButton" id="replace_residue_cancel_button">
                                <property name="label">Cancel</property>
                                <signal name="clicked" handler="on_replace_residue_cancel_button_clicked" swapped="no" object="get_monomer_frame"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkButton" id="replace_residue_ok_button">
                                <property name="label">OK</property>
                                <signal name="clicked" handler="on_replace_residue_ok_button_clicked"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="get_monomer_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <property name="margin-bottom">5</property>
                <property name="margin-end">5</property>
                <property name="margin-start">5</property>
                <property name="margin-top">5</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkBox">
                        <child>
                          <object class="GtkLabel">
                            <property name="label">3 Letter Code</property>
                            <property name="margin-end">5</property>
                            <property name="margin-start">5</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="get_monomer_entry">
                            <property name="can-focus">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="get_monomer_no_entry_frame">
                        <child>
                          <object class="GtkLabel">
                            <property name="label">Not Here. Fetch it?</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="homogeneous">True</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkButton" id="get_monomer_cancel_button">
                            <property name="label">Cancel</property>
                            <signal name="clicked" handler="on_generic_overlay_frame_cancel_button_clicked" swapped="no" object="get_monomer_frame"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="get_monomer_ok_button">
                            <property name="label">OK</property>
                            <signal name="clicked" handler="on_get_monomer_ok_button_clicked"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="accession_code_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <property name="margin-bottom">5</property>
                <property name="margin-end">5</property>
                <property name="margin-start">5</property>
                <property name="margin-top">5</property>
                <child>
                  <object class="GtkBox" id="vbox40">
                    <property name="orientation">vertical</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkLabel" id="accession_code_label">
                        <property name="label" translatable="yes">PDB Accession Code:</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="accession_code_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="homogeneous">True</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkButton" id="accession_code_cancel_button">
                            <property name="label" translatable="yes">Cancel</property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <signal name="clicked" handler="on_generic_overlay_frame_cancel_button_clicked" swapped="no" object="accession_code_frame"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="accession_code_get_it_button">
                            <property name="label" translatable="yes">Get Structure</property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <signal name="clicked" handler="on_accession_code_get_it_button_clicked" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="emdb_map_code_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <property name="margin-bottom">5</property>
                <property name="margin-end">5</property>
                <property name="margin-start">5</property>
                <property name="margin-top">5</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkLabel" id="emdb_map_code_label">
                        <property name="label" translatable="yes">EMDB Accession Code:</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="emdb_map_code_entry">
                        <property name="can-focus">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="homogeneous">True</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkButton" id="emdb_map_code_cancel_button">
                            <property name="label" translatable="yes">Cancel</property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <signal name="clicked" handler="on_generic_overlay_frame_cancel_button_clicked" swapped="no" object="emdb_map_code_frame"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="emdb_map_code_get_it_button">
                            <property name="label" translatable="yes">Get Map</property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <signal name="clicked" handler="on_emdb_map_code_get_it_button_clicked" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="smiles_to_simple_3d_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <property name="margin-bottom">5</property>
                <property name="margin-end">5</property>
                <property name="margin-start">5</property>
                <property name="margin-top">5</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkBox">
                        <child>
                          <object class="GtkLabel">
                            <property name="label"> SMILES </property>
                            <property name="margin-end">5</property>
                            <property name="margin-start">5</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="smiles_to_simple_3d_entry">
                            <property name="can-focus">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="homogeneous">True</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkButton" id="smiles_to_simple_3d_cancel_button">
                            <property name="label">Cancel</property>
                            <signal name="clicked" handler="on_generic_overlay_frame_cancel_button_clicked" swapped="no" object="smiles_to_simple_3d_frame"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="smiles_to_simple_3d_ok_button">
                            <property name="label">OK</property>
                            <signal name="clicked" handler="on_smiles_to_simple_3d_ok_button_clicked"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="gaussian_surface_frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <child>
                  <object class="GtkBox" id="gaussian_surface_vbox">
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="orientation">vertical</property>

                    <child>
                      <object class="GtkGrid" id="gaussian_surface_grid">

                        <child>
                          <object class="GtkComboBox" id="gaussian_surface_molecule_chooser_combobox">
                            <property name="hexpand">True</property>
                            <property name="margin-top">6</property>
                            <property name="margin-bottom">6</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                            <layout>
                              <property name="column-span">2</property>
                              <property name="row">0</property>
                              <property name="column">0</property>
                            </layout>
                            <child>
                              <object class="GtkCellRendererText"/>
                              <attributes>
                                <attribute name="text">0</attribute>
                              </attributes>
                            </child>
                          </object>
                        </child>

                        <child>
                          <object class="GtkLabel" id="gaussian_surface_sigma_label">
                            <property name="label">Sigma</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="gaussian_surface_sigma_entry">
                            <property name="width-request">5</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">1</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkLabel" id="gaussian_surface_contour_level_label">
                            <property name="label">Contour Level</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">2</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="gaussian_surface_contour_level_entry">
                            <property name="width-request">5</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">2</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkLabel" id="gaussian_surface_radius_label">
                            <property name="label">Radius</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">3</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="gaussian_surface_radius_entry">
                            <property name="width-request">5</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">3</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkLabel" id="gaussian_surface_b_factor_label">
                            <property name="label">B-factor</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">4</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkEntry" id="gaussian_surface_b_factor_entry">
                            <property name="width-request">5</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">4</property>
                            </layout>
                          </object>
                        </child>

                        <child>
                          <object class="GtkLabel" id="gaussian_surface_chain_colour_label">
                            <property name="label">Chain Colour Mode</property>
                            <property name="margin-bottom">2</property>
                            <property name="margin-end">2</property>
                            <property name="margin-start">2</property>
                            <property name="margin-top">2</property>
                            <layout>
                              <property name="column">0</property>
                              <property name="row">5</property>
                            </layout>
                          </object>
                        </child>

                        <child> <!-- this needs to be radio buttons -->
                          <object class="GtkEntry" id="gaussian_surface_chain_colour_entry">
                            <property name="width-request">5</property>
                            <layout>
                              <property name="column">1</property>
                              <property name="row">5</property>
                            </layout>
                          </object>
                        </child>

                      </object>
                    </child>

                    <child>
                      <object class="GtkSeparator">
                        <property name="margin-top">10</property>
                        <property name="margin-bottom">10</property>
                        <property name="margin-start">6</property>
                        <property name="margin-end">6</property>
                      </object>
                    </child>
 
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">horizontal</property>
                        <property name="homogeneous">True</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkButton" id="gaussian_surface_cancel_button">
                            <property name="label">Cancel</property>
                            <signal name="clicked" handler="on_gaussian_surface_cancel_button_clicked" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="gaussian_surface_ok_button">
                            <property name="label">Calculate</property>
                            <signal name="clicked" handler="on_gaussian_surface_ok_button_clicked" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="refinement_and_regularization_parameters_frame">
                <!-- <property name="title" translatable="yes">(New) Refinement and Regularization Parameters</property> -->
                <property name="halign">end</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <child>
                  <object class="GtkBox" id="refinement_and_regularization_vbox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <property name="margin-start">8</property>
                            <property name="margin-end">8</property>
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="refine_params_use_torsions_checkbutton">
                                <property name="label" translatable="yes">Use Torsion Restraints</property>
                                <property name="name">refine_params_use_torsions_checkbutton</property>
                                <property name="can-focus">1</property>
                                <signal name="toggled" handler="on_refine_params_use_torsions_checkbutton_toggled" />
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="refine_params_use_planar_peptides_checkbutton">
                                <property name="label" translatable="yes">Use Planar Peptide Restraints</property>
                                <property name="can-focus">0</property>
                                <signal name="toggled" handler="on_refine_params_use_planar_peptides_checkbutton_toggled" />
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="refine_params_use_trans_peptide_restraints_checkbutton">
                                <property name="label" translatable="yes">Use Trans-peptide Restraints</property>
                                <signal name="toggled" handler="on_refine_params_use_trans_peptide_restraints_checkbutton_toggled" />
                                <property name="can-focus">0</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="refine_params_use_ramachandran_goodness_torsions_checkbutton">
                                <property name="label" translatable="yes">Use Ramachandran Restraints</property>
                                <property name="can-focus">1</property>
                                <signal name="toggled" handler="on_refine_params_use_ramachandran_goodness_torsions_checkbutton_toggled" />
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> Restraints </property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <property name="margin-start">8</property>
                            <property name="margin-end">8</property>
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="sec_str_rest_no_rest_radiobutton">
                                <property name="label" translatable="yes">No Secondary Structure Restraints</property>
                                <property name="can-focus">1</property>
                                <property name="active">1</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="sec_str_rest_helix_rest_radiobutton">
                                <property name="label" translatable="yes">Alpha Helix Restraints</property>
                                <property name="can-focus">1</property>
                                <property name="group">sec_str_rest_no_rest_radiobutton</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="sec_str_rest_strand_rest_radiobutton">
                                <property name="label" translatable="yes">Beta Strand Restraints</property>
                                <property name="can-focus">1</property>
                                <property name="group">sec_str_rest_no_rest_radiobutton</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> Secondary Structure Restraints </property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkGrid">
                            <property name="margin-bottom">2</property>
                            <property name="column-spacing">4</property>
                            <property name="row-spacing">4</property>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Overall Weight</property>
                                <layout>
                                  <property name="column">0</property>
                                  <property name="row">0</property>
                                </layout>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Geman-McClure alpha</property>
                                <layout>
                                  <property name="column">0</property>
                                  <property name="row">1</property>
                                </layout>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Lennard-Jones epsilon</property>
                                <layout>
                                  <property name="column">0</property>
                                  <property name="row">2</property>
                                </layout>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Rama Restraints Weight </property>
                                <layout>
                                  <property name="column">0</property>
                                  <property name="row">3</property>
                                </layout>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Torsion Weight</property>
                                <layout>
                                  <property name="column">0</property>
                                  <property name="row">4</property>
                                </layout>
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="refine_params_overall_weight_combobox">
                                <layout>
                                  <property name="column">1</property>
                                  <property name="row">0</property>
                                </layout>
                                <signal name="changed" handler="on_refine_params_overall_weight_combobox_changed"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="refine_params_geman_mcclure_alpha_combobox">
                                <property name="active">2</property>
                                <layout>
                                  <property name="column">1</property>
                                  <property name="row">1</property>
                                </layout>
                                <items>
                                  <item translatable="yes">0.001</item>
                                  <item translatable="yes">0.003</item>
                                  <item translatable="yes">0.01</item>
                                  <item translatable="yes">0.03</item>
                                  <item translatable="yes">0.1</item>
                                  <item translatable="yes">0.3</item>
                                  <item translatable="yes">1.0</item>
                                  <item translatable="yes">3.0</item>
                                  <item translatable="yes">10.0</item>
                                </items>
                                <signal name="changed" handler="on_refine_params_geman_mcclure_alpha_combobox_changed" />
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="refine_params_lennard_jones_epsilon_combobox">
                                <property name="active">3</property>
                                <layout>
                                  <property name="column">1</property>
                                  <property name="row">2</property>
                                </layout>
                                <items>
                                  <item translatable="yes">0.1</item>
                                  <item translatable="yes">0.2</item>
                                  <item translatable="yes">0.5</item>
                                  <item translatable="yes">1.0</item>
                                  <item translatable="yes">2.0</item>
                                  <item translatable="yes">5.0</item>
                                  <item translatable="yes">10.0</item>
                                </items>
                                <signal name="changed" handler="on_refine_params_lennard_jones_epsilon_combobox_changed" />
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="refine_params_rama_restraints_combobox">
                                <property name="active">3</property>
                                <layout>
                                  <property name="column">1</property>
                                  <property name="row">3</property>
                                </layout>
                                <items>
                                  <item translatable="yes">0.1</item>
                                  <item translatable="yes">0.2</item>
                                  <item translatable="yes">0.5</item>
                                  <item translatable="yes">1.0</item>
                                  <item translatable="yes">2.0</item>
                                  <item translatable="yes">5.0</item>
                                  <item translatable="yes">10.0</item>
                                  <item translatable="yes">20.0</item>
                                  <item translatable="yes">50.0</item>
                                  <item translatable="yes">100.0</item>
                                </items>
                                <signal name="changed" handler="on_refine_params_rama_restraints_weight_combobox_changed" />
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="refine_params_torsion_weight_combobox">
                                <property name="active">3</property>
                                <layout>
                                  <property name="column">1</property>
                                  <property name="row">4</property>
                                </layout>
                                <items>
                                  <item translatable="yes">0.1</item>
                                  <item translatable="yes">0.2</item>
                                  <item translatable="yes">0.5</item>
                                  <item translatable="yes">1.0</item>
                                  <item translatable="yes">2.0</item>
                                  <item translatable="yes">5.0</item>
                                  <item translatable="yes">10.0</item>
                                  <item translatable="yes">20.0</item>
                                  <item translatable="yes">50.0</item>
                                  <item translatable="yes">100.0</item>
                                </items>
                                <signal name="changed" handler="on_refine_params_torsion_weight_combobox_changed" />
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="halign">GTK_ALIGN_END</property>
                        <child>
                          <object class="GtkButton" id="refinement_and_regularization_vbox_close_button">
                            <property name="label" translatable="yes"> Close </property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <signal name="clicked" handler="on_refinement_and_regularization_vbox_close_button_clicked" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="coot-points-frame">
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="visible">False</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">5</property>
                    <property name="margin-end">5</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkLabel" id="coot-points-frame-points-label">
                        <property name="halign">end</property>
                        <property name="margin-end">15</property>
                        <property name="opacity">0.9</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="label">Coot-Points-Here!</property>
                        <attributes>
                          <attribute name="weight" value="PANGO_WEIGHT_THIN"/>
                          <attribute name="scale" value="1.25" />
                          <!-- <attribute name="family" value="monospace" /> -->
                        </attributes>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="coot-points-frame-r-factor-label">
                        <property name="label">R-factor-Here!</property>
                        <property name="halign">end</property>
                        <property name="margin-end">15</property>
                        <property name="opacity">0.9</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="label">Clipper R-Factor Here</property>
                        <attributes>
                          <attribute name="weight" value="PANGO_WEIGHT_THIN"/>
                          <attribute name="scale" value="1.0" />
                        </attributes>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="coot-points-frame-free-r-factor-label">
                        <property name="label">Free R-factor-Here!</property>
                        <property name="halign">end</property>
                        <property name="margin-end">15</property>
                        <property name="opacity">0.9</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="label">Clipper R-free Here</property>
                        <attributes>
                          <attribute name="weight" value="PANGO_WEIGHT_THIN"/>
                          <attribute name="scale" value="1.0" />
                        </attributes>
                     </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>


            <child type="overlay">
              <object class="GtkFrame" id="geometry_frame">
                <property name="halign">start</property>
                <property name="valign">end</property>
                <property name="visible">False</property>
                <property name="can_focus">True</property>
                <!-- <property name="title" translatable="yes">Coot Model Geometry</property> -->
                <child>
                  <object class="GtkBox" id="dialog-vbox39">
                    <property name="orientation">vertical</property>
                    <property name="margin-start">5</property>
                    <property name="margin-end">5</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkBox" id="vbox102">
                        <property name="orientation">vertical</property>
                        <property name="homogeneous">False</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkToggleButton" id="geometry_distance_togglebutton">
                            <property name="label" translatable="yes">Distance</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="toggled" handler="on_geometry_distance_togglebutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkToggleButton" id="geometry_angle_togglebutton">
                            <property name="label" translatable="yes">Angle</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="toggled" handler="on_geometry_angle_togglebutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkToggleButton" id="geometry_torsion_togglebutton">
                            <property name="label" translatable="yes">Torsion</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="toggled" handler="on_geometry_torsion_togglebutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkSeparator">
                            <property name="margin-top">10</property>
                            <property name="margin-bottom">10</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="geometry_clear_last_distance_button">
                            <property name="label" translatable="yes">Clear Last Distance</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="clicked" handler="on_geometry_clear_last_distance_button_clicked" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="geometry_clear_all_distances_button">
                            <property name="label" translatable="yes">Clear All Distances</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="clicked" handler="on_geometry_clear_all_distances_button_clicked" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="geometry_clear_atom_labels_button">
                            <property name="label" translatable="yes">Clear All Atom Labels</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="clicked" handler="on_geometry_clear_atom_labels_button_clicked" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="action">
                      <object class="GtkButton" id="geometry_dialog_close_button">
                        <property name="label" translatable="yes">Close</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="clicked" handler="on_geometry_dialog_close_button_clicked" swapped="no"/>
                        <property name="margin-start">5</property>
                        <property name="margin-end">5</property>
                        <property name="margin-top">5</property>
                        <property name="margin-bottom">5</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child type="overlay">
              <object class="GtkRevealer" id="python_scripting_revealer">
                <property name="halign">fill</property>
                <property name="valign">end</property>
                <property name="hexpand">True</property>
                <property name="visible">True</property>
                <property name="transition-type">GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP</property>
                <property name="transition-duration">300</property>
                <property name="can-focus">True</property>
                <child>
                  <object class="GtkOverlay" id="python_scripting_overlay">
                    <child>
                        <object class="GtkEntry" id="python_scripting_entry">
                          <property name="can-focus">1</property>
                          <property name="hexpand">True</property>
                          <attributes>
                            <!-- <attribute name="weight" value="PANGO_WEIGHT_THIN"/> -->
                            <!-- <attribute name="scale" value="0.75" /> -->
                            <attribute name="family" value="monospace" />
                          </attributes>
                        </object>
                    </child>
                    <child type="overlay">
                        <object class="GtkLabel">
                          <property name="halign">end</property>
                          <property name="margin-end">15</property>
                          <property name="opacity">0.75</property>
                          <property name="valign">center</property>
                          <!-- <property name="hexpand">True</property> -->
                          <property name="visible">True</property>
                          <property name="label">Python Scripting</property>
                          <attributes>
                            <attribute name="weight" value="PANGO_WEIGHT_THIN"/>
                            <attribute name="scale" value="0.75" />
                            <attribute name="family" value="monospace" />
                          </attributes>
                        </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkBox" id="add_an_atom_box">
                <property name="visible">False</property>
                <property name="orientation">vertical</property>
                <property name="halign">center</property>
                <property name="valign">start</property>
                <child>
                  <object class="GtkGrid" id="add_an_atom_grid">
                    <child>
                      <object class="GtkButton" id="add_an_atom_water_button">
                        <property name="label">Water</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_water_button_clicked" />
                        <layout>
                          <property name="column">0</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">2</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_lithium_button">
                        <property name="label">Li</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_lithium_button_clicked" />
                        <layout>
                          <property name="column">1</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_magnesium_button">
                        <property name="label">Mg</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_magnesium_button_clicked" />
                        <layout>
                          <property name="column">2</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_nickel_button">
                        <property name="label">Ni</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_nickel_button_clicked" />
                        <layout>
                          <property name="column">3</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_chlorine_button">
                        <property name="label">Cl</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_chlorine_button_clicked" />
                        <layout>
                          <property name="column">4</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_cancel_button">
                        <property name="label">Cancel</property>
                        <property name="margin-bottom">4</property>
                        <property name="margin-end">4</property>
                        <property name="margin-start">4</property>
                        <property name="margin-top">4</property>
                        <signal name="clicked" handler="on_add_an_atom_cancel_button_clicked" />
                        <layout>
                          <property name="column">0</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_sodium_button">
                        <property name="label">Na</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_sodium_button_clicked" />
                        <layout>
                          <property name="column">1</property>
                          <property name="column-span">1</property>
                          <property name="row">1</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_potasium_button">
                        <property name="label">K</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_potasium_button_clicked" />
                        <layout>
                          <property name="column">1</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_calcium_button">
                        <property name="label">Ca</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_calcium_button_clicked" />
                        <layout>
                          <property name="column">2</property>
                          <property name="column-span">1</property>
                          <property name="row">1</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_copper_button">
                        <property name="label">Cu</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_copper_button_clicked" />
                        <layout>
                          <property name="column">3</property>
                          <property name="column-span">1</property>
                          <property name="row">1</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_strontium_button">
                        <property name="label">Sr</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_strontium_button_clicked" />
                        <layout>
                          <property name="column">2</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_bromine_button">
                        <property name="label">Br</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_bromine_button_clicked" />
                        <layout>
                          <property name="column">4</property>
                          <property name="column-span">1</property>
                          <property name="row">1</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_zinc_button">
                        <property name="label">Zn</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_zinc_button_clicked" />
                        <layout>
                          <property name="column">3</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="add_an_atom_iodine_button">
                        <property name="label">I</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-end">2</property>
                        <property name="margin-start">2</property>
                        <property name="margin-top">2</property>
                        <signal name="clicked" handler="on_add_an_atom_iodine_button_clicked" />
                        <layout>
                          <property name="column">4</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkLabel" id="session_saved_label">
                <property name="visible">False</property>
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="label" translatable="yes"> Session Saved </property>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkLabel" id="partition_map_by_chain_status_label">
                <property name="visible">False</property>
                <property name="halign">center</property>
                <property name="valign">start</property>
                <property name="label" translatable="yes">Pending...</property>
              </object>
            </child>

            <child type="overlay">
              <object class="GtkFrame" id="export_map_frame">
                <property name="visible">False</property>
                <property name="halign">center</property>
                <property name="valign">start</property>
                <!-- <signal name="response" handler="on_export_map_dialog_response" swapped="no"/> -->
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <property name="spacing">10</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                    <property name="margin-top">10</property>
                    <property name="margin-bottom">10</property>
                    <child>
                      <object class="GtkComboBoxText" id="export_map_map_combobox">
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="export_map_fragment_hbox">
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Export map within </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="export_map_radius_entry">
                            <property name="can-focus">1</property>
                            <property name="text" translatable="yes">12</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Ångströms of the screen centre</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="orientation">horizontal</property>
                        <property name="spacing">5</property>
                        <child>
                          <object class="GtkLabel">
                            <property name="hexpand">true</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton">
                            <property name="label" translatable="yes">Cancel</property>
                            <property name="can-focus">1</property>
                            <property name="halign">end</property>
                            <signal name="clicked" handler="on_export_map_frame_cancel_button_clicked" swapped="no" />
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton">
                            <property name="label" translatable="yes">OK</property>
                            <property name="can-focus">1</property>
                            <property name="receives-default">1</property>
                            <property name="halign">end</property>
                            <signal name="clicked" handler="on_export_map_frame_ok_button_clicked" swapped="no" />
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkBox" id="main_window_vbox_inner">
            <property name="orientation">vertical</property>
            <property name="spacing">2</property>
            <!-- <style> -->
            <!--   <class name="toolbar"/> -->
            <!-- </style> -->
            <child>
              <object class="GtkButton" id="vertical_toolbar_refine_regularize_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="halign">start</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">

                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">R/RC</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_refine_control_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="vertical_toolbar_map_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="halign">start</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">

                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Map...</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_select_map_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkToggleButton" id="select_residue_range_toggle_button">
                <property name="can-focus">0</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <property name="halign">start</property>
                    <child>
                      <object class="GtkImage">

                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Range/Pair</property>
                      </object>
                    </child>
                  </object>
                </child>
                <signal name="toggled" handler="on_model_toolbar_range_define_togglebutton_toggled" swapped="no"/>
              </object>
            </child>

            <child>
              <object class="GtkMenuButton" id="refine_menubutton">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <property name="halign">start</property>
                    <child>
                      <object class="GtkImage">

                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Refine</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton" id="fixed_atoms_menubutton">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">anchor</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Fixed Atoms</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <!-- <signal name="activate" handler="on_model_toolbar_fixed_atoms_menubutton_activated" swapped="no"/> -->
              </object>
            </child>

            <child>
              <object class="GtkMenuButton" id="vertical_toolbar_rigid_body_menubutton">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">rigid-body</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Rigid Body Fit</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
              </object>
            </child>

            <child>
              <object class="GtkMenuButton" id="rotate_translate_menubutton">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">rtz</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">RotateTranslate</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="vertical_toolbar_testbutton_4">
                <property name="can-focus">0</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">auto-fit-rotamer</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">AutoFit Rotamer</property>
                      </object>
                    </child>
                  </object>
                </child>
                <signal name="clicked" handler="on_model_toolbar_auto_fit_rotamer_button_clicked" />
              </object>
            </child>
            <child>
              <object class="GtkButton" id="vertical_toolbar_testbutton_5">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">rotamers</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Rotamers</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_rotamers_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="vertical_toolbar_testbutton_6">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">

                        <property name="icon-name">edit-chi</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">

                        <property name="label" translatable="yes">Edit Chi Angles</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_edit_chi_angles_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="flip_peptide_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">flip-peptide</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Flip Peptide</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_flip_peptide_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="side_chain_180_flip_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">side-chain-180</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Sidechain 180° Flip</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_side_chain_180_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton" id="mutate_and_autofit_menubutton">
                <child>
                  <object class="GtkBox" >
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">mutate-auto-fit</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Mutate &amp; Auto-Fit</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="activate" handler="on_model_toolbar_mutate_and_autofit_menubutton_activate"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="simple_mutate_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">mutate</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Simple Mutate</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_simple_mutate_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="vertical_toolbar_add_terminal_residue_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">add-peptide-1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Add Terminal Residue</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_add_terminal_residue_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="add_alt_conf_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">add-alt-conf</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Add Alt Conf</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_add_alt_conf_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkMenuButton" id="delete_menubutton">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">edit-delete</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Delete...</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="undo_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">edit-undo</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Undo</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_undo_button_clicked"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="redo_button">
                <child>
                  <object class="GtkBox">
                    <property name="orientation">horizontal</property>
                    <property name="spacing">5</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">edit-redo</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Redo</property>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="can-focus">0</property>
                <signal name="clicked" handler="on_model_toolbar_redo_button_clicked"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkStatusbar" id="main_window_statusbar">
        <signal name="text-pushed" handler="on_main_window_statusbar_text_pushed" swapped="no"/>
      </object>
    </child>
  </object>


  <object class="GtkDialog" id="ramachandran_plot_molecule_chooser_dialog">
    <property name="title">Coot: Ramachandran Plot</property>
    <property name="hide-on-close">True</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="margin-top">10</property>
        <property name="margin-bottom">10</property>
        <property name="margin-start">10</property>
        <property name="margin-end">10</property>
        <property name="spacing">5</property>

        <child>
          <object class="GtkGrid">

            <child>
              <object class="GtkLabel">
                <property name="label">Model: </property>
                <layout>
                  <property name="row">0</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkComboBox" id="ramachandran_plot_molecule_chooser_model_combobox">
                <property name="hexpand">True</property>
                <layout>
                  <property name="row">0</property>
                  <property name="column">1</property>
                </layout>
                <child>
                  <object class="GtkCellRendererText"/>
                  <attributes>
                    <attribute name="text">0</attribute>
                  </attributes>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkLabel">
                <property name="label">Residue Selection: </property>
                <layout>
                  <property name="row">1</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>

            <child>
              <object class="GtkEntry" id="ramachandran_plot_molecule_chooser_residue_selection_entry">
                <property name="can-focus">1</property>
                <property name="max-width-chars">20</property>
                <property name="text">//</property>
                <layout>
                  <property name="row">1</property>
                  <property name="column">1</property>
                </layout>
              </object>
            </child>

          </object>
        </child> <!-- end of grid -->

        <child>
          <object class="GtkSeparator">
            <property name="margin-top">8</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
          </object>
        </child>

        <child type="action">
          <object class="GtkBox">
            <property name="spacing">6</property>
            <child>
              <object class="GtkButton" id="ramachandran_plot_molecule_chooser_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_ramachandran_plot_molecule_chooser_cancel_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-top">4</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="ramachandran_plot_molecule_chooser_ok_button">
                <property name="label" translatable="yes">  Show Plot  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_ramachandran_plot_molecule_chooser_ok_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-top">4</property>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>

      </object>
    </child>
  </object>

  <object class="GtkDialog" id="validation_graph_dialog">
    <property name="title">Validation graphs</property>
    <property name="hide-on-close">True</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="margin-top">10</property>
        <property name="margin-bottom">10</property>
        <property name="margin-start">10</property>
        <property name="margin-end">10</property>
        <property name="spacing">5</property>
        <child>
          <object class="GtkLabel">
            <property name="label">Validation Graphs</property>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="margin-top">5</property>
            <property name="margin-bottom">5</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
          </object>
        </child>
        <child>
          <!-- <object class="GtkScrolledWindow"> -->
            <!-- <child> -->
              <object class="GtkBox">
                <property name="orientation">horizontal</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label">Model: </property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBox" id="validation_graph_model_combobox">
                    <property name="hexpand">True</property>
                    <signal name="changed" swapped="no" handler="on_validation_graph_model_combobox_changed" />
                    <child>
                      <object class="GtkCellRendererText"/>
                      <attributes>
                        <attribute name="text">0</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
              </object>
            <!-- </child> -->
          <!-- </object> -->
        </child>
        <child>
          <!-- 20230417-PE implementing chain selection is tricky - let's not do that at the moment -->
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="visible">False</property>
            <child>
              <object class="GtkLabel">
                <property name="label">Chain: </property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="validation_graph_chain_id_selector">
                <property name="hexpand">True</property>
                <signal name="changed" swapped="no" handler="on_validation_graph_chain_id_combobox_changed" />
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="margin-top">5</property>
            <property name="margin-bottom">5</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
          </object>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="label">Graph types</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid">
            <child>
              <object class="GtkCheckButton">
                <property name="label">Density fit</property>
                <signal name="toggled" handler="on_density_fit_graph_toggled"></signal>
                <layout>
                  <property name="row">0</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Temp. Factor</property>
                <signal name="toggled" handler="on_temp_factor_graph_toggled"></signal>
                <layout>
                  <property name="row">1</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Ramachandran Plot</property>
                <signal name="toggled" handler="on_rama_graph_toggled"></signal>
                <layout>
                  <property name="row">2</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Rotamer</property>
                <signal name="toggled" handler="on_rota_graph_toggled"></signal>
                <layout>
                  <property name="row">3</property>
                  <property name="column">0</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Peptide Omega</property>
                <signal name="toggled" handler="on_omega_graph_toggled"></signal>
                <layout>
                  <property name="row">0</property>
                  <property name="column">1</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Geometry</property>
                <signal name="toggled" handler="on_geometry_graph_toggled"></signal>
                <layout>
                  <property name="row">1</property>
                  <property name="column">1</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">Density Correlation</property>
                <signal name="toggled" handler="on_density_correlation_graph_toggled"></signal>
                <layout>
                  <property name="row">2</property>
                  <property name="column">1</property>
                </layout>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton">
                <property name="label">NCS</property>
                <signal name="toggled" handler="on_ncs_graph_toggled"></signal>
                <layout>
                  <property name="row">3</property>
                  <property name="column">1</property>
                </layout>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkDialog" id="drawing_options_dialog">
    <property name="title" translatable="yes">Coot Drawing Options</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="drawing_options_close_button">
                <property name="label" translatable="yes"> Close </property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="interesting_waters_by_difference_map_check_dialog">
    <property name="height-request">200</property>
    <property name="title" translatable="yes">Interesting/Strange Waters:</property>
    <child>
      <object class="GtkBox" id="dialog-vbox71">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="interesting_waters_by_difference_map_check_ok_button">
                <property name="label" translatable="yes">   Cancel   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_interesting_waters_by_difference_map_check_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow17">
            <property name="hexpand">1</property>
            <property name="vexpand">1</property>
            <child>
              <object class="GtkViewport" id="viewport10">
                <child>
                  <object class="GtkBox" id="interesting_waters_by_difference_map_check_vbox">
                    <property name="orientation">vertical</property>
                    <property name="hexpand">1</property>
                    <property name="vexpand">1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="keyboard_go_to_residue_window">
    <property name="decorated">0</property>
    <child>
      <object class="GtkEntry" id="keyboard_go_to_residue_entry">
        <property name="can-focus">1</property>
        <property name="max-width-chars">20</property>
        <signal name="changed" handler="on_keyboard_go_to_residue_entry_changed" swapped="no"/>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="keyboard_mutate_dialog">
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkEntry" id="keyboard_mutate_entry">
            <property name="can-focus">1</property>
            <property name="primary-icon-tooltip-text" translatable="yes">Type here the single letter code of the residue type - or press &quot;Esc&quot; to dismiss this dialog</property>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="least_squares_dialog">
    <property name="title" translatable="yes">Least Squares Fit</property>
    <property name="hide-on-close">true</property>
    <child>
      <object class="GtkBox" id="dialog-vbox97">
        <property name="orientation">vertical</property>
        <property name="spacing">5</property>
        <property name="margin-end">5</property>
        <property name="margin-start">5</property>
        <property name="margin-top">5</property>
        <property name="margin-bottom">5</property>
        <child>
          <object class="GtkBox" id="vbox187">
            <property name="orientation">vertical</property>
            <property name="spacing">5</property>
            <child>
              <object class="GtkFrame" id="frame170">
                <child>
                  <object class="GtkGrid" id="grid189">
                    <property name="orientation">vertical</property>
                    <property name="column-homogeneous">true</property>
                    <property name="row-spacing">5</property>
                    <property name="column-spacing">5</property>
                    <property name="margin-end">5</property>
                    <property name="margin-start">5</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <child>
                      <object class="GtkLabel" id="label292">
                        <property name="label" translatable="yes">Reference Molecule:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="least_squares_reference_molecule_combobox">
                        <layout>
                          <property name="column">1</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label293">
                        <property name="label" translatable="yes">Moving Molecule:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="least_squares_moving_molecule_combobox">
                        <layout>
                          <property name="column">1</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame171">
                <child>
                  <object class="GtkGrid" id="grid190">
                    <property name="orientation">vertical</property>
                    <property name="margin-end">5</property>
                    <property name="margin-start">5</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="column-spacing">5</property>
                    <property name="row-spacing">5</property>


                    <child>
                      <object class="GtkLabel" id="label294">
                        <property name="label" translatable="yes">Reference Residue Range</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="least_squares_reference_range_1_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label295">
                        <property name="label" translatable="yes">to</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">2</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="least_squares_reference_range_2_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="column">3</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label296">
                        <property name="label" translatable="yes">Chain</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">4</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="least_squares_reference_chain_id_combobox">
                        <layout>
                          <property name="column">5</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label297">
                        <property name="label" translatable="yes">Moving Residue Range</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="least_squares_moving_range_1_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label298">
                        <property name="label" translatable="yes">to</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">2</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="least_squares_moving_range_2_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <layout>
                          <property name="column">3</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label299">
                        <property name="label" translatable="yes">Chain</property>
                        <property name="justify">center</property>
                        <layout>
                          <property name="column">4</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="least_squares_moving_chain_id_combobox">
                        <layout>
                          <property name="column">5</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame169">
                <child>
                  <object class="GtkBox" id="vbox188">
                    <property name="orientation">vertical</property>
                    <property name="margin-end">5</property>
                    <property name="margin-start">5</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <child>
                      <object class="GtkCheckButton" id="least_squares_match_type_all_radiobutton">
                        <property name="label" translatable="yes">All Atoms</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <signal name="toggled" handler="on_least_squares_match_type_all_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="least_squares_match_type_main_radiobutton">
                        <property name="label" translatable="yes">Mainchain</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">least_squares_match_type_all_radiobutton</property>
                        <signal name="toggled" handler="on_least_squares_match_type_main_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="least_squares_match_type_calpha_radiobutton">
                        <property name="label" translatable="yes">C-alphas</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">least_squares_match_type_all_radiobutton</property>
                        <signal name="toggled" handler="on_least_squares_match_type_all_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label325">
                    <property name="label" translatable="yes">Match Atoms</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox146">
            <property name="halign">end</property>
            <property name="spacing">5</property>
            <child>
              <object class="GtkButton" id="least_squares_cancel_button">
                <property name="label">Close</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_least_squares_cancel_button_clicked" swapped="no" />
              </object>
            </child>
            <child>
              <object class="GtkButton" id="least_squares_ok_button">
                <property name="label" translatable="yes">Fit</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_least_squares_ok_button_clicked" swapped="no" />
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="ligand_big_blob_dialog">
    <property name="height-request">250</property>
    <property name="title" translatable="yes">Coot: Unmodelled blobs of density</property>
    <signal name="destroy" handler="on_ligand_big_blob_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox36">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox97">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label133">
                <property name="label" translatable="yes">
There are unexplained blobs of
density (too big to be waters):
</property>
                <property name="justify">center</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow8">
                <child>
                  <object class="GtkViewport" id="viewport4">
                    <child>
                      <object class="GtkBox" id="ligand_big_blob_vbox">
                        <property name="height-request">200</property>
                        <property name="vexpand">True</property>
                        <property name="orientation">vertical</property>
                        <property name="margin-start">6</property>
                        <property name="margin-end">6</property>
                        <property name="margin-top">6</property>
                        <property name="margin-bottom">6</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkSeparator">
          </object>
        </child>

        <child type="action">
          <object class="GtkButton" id="ligand_big_blob_dismiss_button">
            <property name="label" translatable="yes">  Dismiss  </property>
            <property name="can-focus">1</property>
            <property name="use-underline">1</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <signal name="clicked" handler="on_ligand_big_blob_dismiss_button_clicked" swapped="no"/>
          </object>
        </child>

      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="ligand_no_blobs_dialog">
    <property name="title" translatable="yes">Ligand - No Blobs Dialog</property>
    <child>
      <object class="GtkBox" id="dialog-vbox62">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox106">
                <child>
                  <object class="GtkButton" id="ligand_no_blobs_OK_button">
                    <property name="label" translatable="yes">   OK!   </property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_ligand_no_blobs_OK_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame117">
            <child>
              <object class="GtkLabel" id="label203">
                <property name="label" translatable="yes">


     Coot found no unexplained blobs


                </property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="updating_maps_dialog">
    <property name="title" translatable="yes">Coot: Set Updating Maps</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="margin-top">6</property>
        <property name="margin-bottom">6</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>


        <child>
          <object class="GtkFrame">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Select Model:</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="updating_maps_model_combobox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkFrame">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Select Map (with data info attached):</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="updating_maps_map_combobox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkFrame">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Select Difference_Map:</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="updating_maps_diff_map_combobox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkCheckButton" id="updating_maps_auto_update_checkbutton">
            <property name="label" translatable="yes">Auto Update</property>
          </object>
        </child>

        <child>
          <object class="GtkSeparator">
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
            <property name="homogeneous">1</property>
            <child>
              <object class="GtkButton" id="updating_maps_cancel_button">
                <property name="label">Cancel</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">10</property>
                <signal name="clicked" handler="on_updating_maps_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="updating_maps_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <signal name="clicked" handler="on_updating_maps_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>

      </object>
    </child>
  </object>

  <object class="GtkDialog" id="mask_map_by_atom_selection_dialog">
    <property name="title" translatable="yes">Coot: Mask Map by Atom Selection</property>
    <child>
      <object class="GtkBox" id="mask-map-by-atom-selection-dialog-vbox">
        <property name="orientation">vertical</property>
        <property name="margin-top">6</property>
        <property name="margin-bottom">6</property>
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>

        <child>
          <object class="GtkFrame">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Select Map:</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="mask_map_by_atom_selection_map_combobox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        
        <child>
          <object class="GtkFrame">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Select Model:</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>

                <child>
                  <object class="GtkComboBoxText" id="mask_map_by_atom_selection_model_combobox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">10</property>
                    <property name="margin-end">10</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkBox" id="mask_map_by_atom_selection_atom_selection_hbox">>
          <property name="margin-top">6</property>
          <property name="margin-bottom">6</property>
          <property name="margin-start">10</property>
          <property name="margin-end">10</property>
          <child>
            <object class="GtkLabel">
              <property name="label" translatable="yes">Atom Selection: </property>
              <property name="justify">center</property>
            </object>
          </child>

          <child>
            <object class="GtkEntry" id="mask_map_by_atom_selection_atom_selection_entry">
              <property name="can-focus">1</property>
              <property name="placeholder-text">//A/10-20</property>
            </object>
          </child>
          </object>
        </child>
        
        <child>
          <object class="GtkBox">>
          <property name="margin-top">6</property>
          <property name="margin-bottom">6</property>
          <property name="margin-start">10</property>
          <property name="margin-end">10</property>
          <child>
            <object class="GtkLabel">
              <property name="label" translatable="yes">Radius around atoms: </property>
              <property name="justify">center</property>
            </object>
          </child>

          <child>
            <object class="GtkEntry" id="mask_map_by_atom_selection_radius_entry">
              <property name="can-focus">1</property>
              <property name="placeholder-text">default</property>
            </object>
          </child>
          </object>
        </child>

        <child>
          <object class="GtkCheckButton" id="mask_map_by_atom_selection_invert_checkbutton">
            <property name="label" translatable="yes">Invert Masking?</property>
          </object>
        </child>
        
        <child>
          <object class="GtkSeparator">
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
            <child>
              <object class="GtkButton" id="mask_map_by_atom_selection_cancel_button">
                <property name="label">Cancel</property>
                <property name="can-focus">1</property>
                <property name="margin-start">4</property>
                <property name="margin-end">10</property>
                <signal name="clicked" handler="on_mask_map_by_atom_selection_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="mask_map_by_atom_selection_ok_button">
                <property name="label" translatable="yes">Mask Map</property>
                <property name="can-focus">1</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <signal name="clicked" handler="on_mask_map_by_atom_selection_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
        
      </object>
    </child>
  </object>>

  <object class="GtkDialog" id="lsq_plane_dialog">
    <property name="title" translatable="yes">LSQ Plane </property>
    <signal name="destroy" handler="on_lsq_plane_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox92">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="lsq_plane_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_lsq_plane_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="lsq_plane_frame">
            <child>
              <object class="GtkBox" id="vbox177">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="lsq_plane_add_atom_radiobutton">
                    <property name="label" translatable="yes">Add Atom to Plane</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_lsq_plane_add_atom_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox135">
                    <child>
                      <object class="GtkLabel" id="label266">
                        <property name="label" translatable="yes">            </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="lsq_plane_delete_last_atom_button">
                        <property name="label" translatable="yes">  Delete Last Plane Atom  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="clicked" handler="on_lsq_plane_delete_last_atom_button_clicked" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label267">
                        <property name="label" translatable="yes">                </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="lsq_plane_deviant_atom_radiobutton">
                    <property name="label" translatable="yes">Deviation of Atom</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">lsq_plane_add_atom_radiobutton</property>
                    <signal name="toggled" handler="on_lsq_plane_deviant_atom_radiobutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child type="label">
              <object class="GtkLabel" id="label322">
                <property name="label" translatable="yes">Lsq Plane</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkFileChooserDialog" id="map_name_filechooser_dialog">
    <property name="use-header-bar">1</property>
    <property name="title" translatable="yes">Coot: Select Map File Name</property>
    <property name="deletable">0</property>
    <signal name="response" handler="on_map_name_filechooser_dialog_response" swapped="no"/>
    <!-- <child> -->
    <!--   <object class="GtkBox"> -->
    <!--     <property name="orientation">vertical</property> -->
    <!--     <property name="spacing">2</property> -->
    <!--      <child type="action"> -->
    <!--        <object class="GtkButton" id="map_name_filechooser_cancel_button"> -->
    <!--          <property name="label" translatable="yes">Cancel</property> -->
    <!--          <property name="can-focus">1</property> -->
    <!--          <property name="receives-default">1</property> -->
    <!--        </object> -->
    <!--      </child> -->
    <!--      <child> -->
    <!--        <object class="GtkBox"> -->
    <!--          <child> -->
    <!--            <object class="GtkLabel"> -->
    <!--              <property name="label" translatable="yes"> </property> -->
    <!--            </object> -->
    <!--          </child> -->
    <!--          <child> -->
    <!--            <object class="GtkCheckButton" id="map_filechooser_is_difference_map_button"> -->
    <!--              <property name="label" translatable="yes">Is Difference Map   </property> -->
    <!--              <property name="can-focus">1</property> -->
    <!--            </object> -->
    <!--          </child> -->
    <!--        </object> -->
    <!--      </child> -->
    <!--   </object> -->
    <!-- </child> -->
  </object>

  <object class="GtkDialog" id="map_sharpening_dialog">
    <property name="title" translatable="yes">Coot: Sharpen/Blur Map</property>
    <property name="default-width">500</property>
    <signal name="response" handler="on_map_sharpening_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox" id="map_sharpening_dialog_vbox_internal">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Map to Sharpen/Blur:</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="map_sharpening_molecule_combobox">
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
              </object>
            </child>
            <child>
              <object class="GtkScale" id="map_sharpening_hscale">
                <property name="can-focus">1</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <property name="round-digits">1</property>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkButton" id="map_sharpening_dialog_ok_button">
            <property name="label">OK</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-5">map_sharpening_dialog_ok_button</action-widget>
    </action-widgets>
  </object>

  <object class="GtkDialog" id="map_partition_by_chain_dialog">
    <property name="title" translatable="yes">Coot: Partition Map by Chain</property>
    <property name="default-width">500</property>
    <signal name="response" handler="on_map_partition_by_chain_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox" id="map_partition_by_chain_vbox_internal">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkLabel">
            <property name="label" translatable="yes">Map</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkComboBoxText" id="map_partition_by_chain_map_combobox">
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
          </object>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="label" translatable="yes">Model</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkComboBoxText" id="map_partition_by_chain_model_combobox">
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="halign">end</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <property name="spacing">10</property>
            <child type="action">
              <object class="GtkButton" id="map_partition_by_chain_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
              </object>
            </child>
            <child type="action">
              <object class="GtkButton" id="map_partition_by_chain_ok_button">
                <property name="label" translatable="yes">  OK  </property>
              </object>
            </child>
          </object>
        </child>

      </object>
    </child>
    <action-widgets>
      <action-widget response="-6">map_partition_by_chain_cancel_button</action-widget>
      <action-widget response="-5">map_partition_by_chain_ok_button</action-widget>
    </action-widgets>
  </object>
  
  <object class="GtkDialog" id="merge_molecules_dialog">
    <property name="title" translatable="yes">Coot: Merge Molecules</property>
    <child>
      <object class="GtkBox" id="dialog-vbox57">
        <property name="orientation">vertical</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <child>
          <object class="GtkFrame" id="frame109">
            <child>
              <object class="GtkBox" id="vbox114">
                <property name="orientation">vertical</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <child>
                  <object class="GtkLabel" id="label11">
                    <property name="label" translatable="yes">Append/Insert Molecule(s):</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="merge_molecules_scrolledwindow">
                    <property name="height-request">280</property>
                    <child>
                      <object class="GtkViewport">
                        <child>
                          <object class="GtkBox" id="merge_molecules_vbox">
                            <property name="orientation">vertical</property>
                            <property name="margin-start">4</property>
                            <property name="margin-end">4</property>
                            <property name="margin-top">4</property>
                            <property name="margin-bottom">4</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label179">
                    <property name="label" translatable="yes">into Molecule:</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBoxText" id="merge_molecules_combobox">
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label180">
                    <property name="label" translatable="yes"> </property>
                    <property name="justify">center</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child type="action">
          <object class="GtkBox" id="hbox89">
            <property name="spacing">6</property>
            <child>
              <object class="GtkButton" id="merge_molecules_cancel_button">
                <property name="label" translatable="yes">   Cancel   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_merge_molecules_cancel_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-top">4</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="merge_molecules_ok_button">
                <property name="label" translatable="yes">   Merge   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_merge_molecules_ok_button_clicked" swapped="no"/>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-top">4</property>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>

      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="monomer_search_dialog">
    <property name="title" translatable="yes">Coot Search Monomer Library</property>
    <child>
      <object class="GtkBox" id="dialog-vbox96">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkBox" id="vbox185">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame168">
                <child>
                  <object class="GtkBox" id="vbox186">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label288">
                        <property name="label" translatable="yes">Search the Monomer Library</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="hbox145">
                        <child>
                          <object class="GtkLabel" id="label291">
                            <property name="label" translatable="yes">  </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label289">
                            <property name="label" translatable="yes">Text: </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="monomer_search_entry">
                            <property name="can-focus">1</property>
                            <property name="primary-icon-activatable">0</property>
                            <property name="secondary-icon-activatable">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="monomer_library_search_button">
                            <property name="label" translatable="yes">Search</property>
                            <property name="can-focus">1</property>
                            <signal name="clicked" handler="on_monomer_library_search_button_clicked" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel" id="label290">
                            <property name="label" translatable="yes">  </property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="monomer_search_minimal_descriptions_checkbutton">
                        <property name="label" translatable="yes">Include Monomers with Minimal Descriptions</property>
                        <property name="can-focus">0</property>
                        <property name="visible">0</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow27">
                <property name="height-request">120</property>
                <property name="vexpand">1</property>
                <child>
                  <object class="GtkViewport" id="monomer_search_results_viewport">
                    <child>
                      <object class="GtkBox" id="monomer_search_results_vbox">
                        <property name="orientation">vertical</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
              <object class="GtkBox" id="hbox144">
                <property name="homogeneous">1</property>
                <child>
                  <object class="GtkButton" id="monomer_library_search_dialog_cancel_button">
                    <property name="label" translatable="yes">Close</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_monomer_library_search_dialog_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="move_molecule_here_dialog">
    <property name="title" translatable="yes">Move Molecule Here</property>
    <child>
      <object class="GtkBox" id="dialog-vbox95">
        <property name="spacing">4</property>
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkBox" id="vbox184">
            <property name="orientation">vertical</property>
            <property name="baseline-position">top</property>
            <child>
              <object class="GtkLabel" id="label287">
                <property name="label" translatable="yes">Move Molecule Here:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBox" id="move_molecule_here_combobox">
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox143">
            <property name="spacing">4</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkButton" id="move_molecule_here_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_move_molecule_here_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="move_molecule_here_ok_button">
                <property name="label" translatable="yes">Move It</property>
                <property name="can-focus">1</property>
                <signal name="clicked" handler="on_move_molecule_here_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="mutate_sequence_dialog">
    <property name="title" translatable="yes">Coot: Mutate Residue Range</property>
    <child>
      <object class="GtkBox" id="dialog-vbox58">
        <property name="spacing">4</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame110">
            <child>
              <object class="GtkBox" id="vbox116">
                <property name="spacing">8</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="function_for_molecule_label">
                    <property name="label" translatable="yes"> Mutate Molecule:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0.0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="mutate_sequence_hbox_for_molecule_combobox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkComboBoxText" id="mutate_sequence_molecule_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox90">
                    <child>
                      <object class="GtkLabel" id="label182">
                        <property name="label" translatable="yes">  Chain ID: </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="mutate_sequence_hbox_for_molecule_chain_combobox_text">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkComboBoxText" id="mutate_sequence_chain_combobox_text">
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox91">
                    <child>
                      <object class="GtkLabel" id="label183">
                        <property name="label" translatable="yes">  Residue numbers </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="mutate_molecule_resno_1_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <signal name="changed" handler="on_mutate_molecule_resno_1_entry_changed" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label184">
                        <property name="label" translatable="yes">   to   </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="mutate_molecule_resno_2_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                        <signal name="changed" handler="on_mutate_molecule_resno_2_entry_changed" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label185">
                        <property name="label" translatable="yes">  (inclusive)   </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="loop_fit_method_frame">
                    <child>
                      <object class="GtkBox" id="vbox159">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label245">
                            <property name="label" translatable="yes">Successive Peptides by Ramachandran search (this may not work well)</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label306">
                        <property name="label" translatable="yes">Using Method:</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label186">
                    <property name="label" translatable="yes"> to (single letter) sequence:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow">
                    <property name="hscrollbar-policy">never</property>
                    <property name="height-request">90</property>
                    <child>
                      <object class="GtkTextView" id="mutate_molecule_sequence_text">
                        <property name="can-focus">1</property>
                        <property name="wrap-mode">word</property>
                        <property name="monospace">True</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label187">
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Match: </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkImage" id="mutate_sequence_green_light_image">
                        <property name="icon-name">gtk-yes</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkImage" id="mutate_sequence_red_light_image">
                        <property name="icon-name">gtk-no</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="mutate_residue_range_counts_label">
                        <property name="label" translatable="yes">Counts: Residue numbers: -: Sequence: -</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="mutate_sequence_do_autofit_checkbutton">
                    <property name="label" translatable="yes"> Autofit the mutated residues?</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_mutate_sequence_do_autofit_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="mutate_sequence_use_ramachandran_restraints_checkbutton">
                    <property name="label" translatable="yes">Use Ramachandran restraints to fit the loop?</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="active">1</property>
                    <signal name="toggled" handler="on_mutate_sequence_use_ramachandran_restraints_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox92">
            <property name="spacing">4</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="halign">end</property>
            <child>
              <object class="GtkButton" id="mutate_sequence_cancel_button">
                <property name="label" translatable="yes">   Cancel   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_mutate_sequence_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="mutate_sequence_ok_button">
                <property name="label" translatable="yes">   Mutate   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_mutate_sequence_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="fit_loop_ok_button">
                <property name="label" translatable="yes">  Fit Loop  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_fit_loop_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="ncs_control_dialog">
    <property name="width-request">400</property>
    <property name="height-request">340</property>
    <property name="title" translatable="yes">NCS Control</property>
    <child>
      <object class="GtkBox" id="dialog-vbox91">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="ncs_control_ok_button">
                <property name="label" translatable="yes">   OK   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_ncs_control_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox170">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label263">
                <property name="label" translatable="yes">NCS Controller</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow25">
                <child>
                  <object class="GtkViewport" id="viewport19">
                    <child>
                      <object class="GtkBox" id="ncs_control_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkFrame" id="frame_molecule_N1">
                            <child>
                              <object class="GtkBox" id="vbox176">
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkCheckButton" id="ncs_controller_molecule_n_display_ncs_checkbutton">
                                    <property name="label" translatable="yes">Display Non-cystallographic Ghosts</property>
                                    <property name="can-focus">1</property>
                                    <property name="use-underline">1</property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkSeparator">
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkBox" id="hbox134">
                                    <child>
                                      <object class="GtkBox" id="vbox172">
                                        <property name="orientation">vertical</property>
                                        <child>
                                          <object class="GtkLabel" id="label264">
                                            <property name="label" translatable="yes">Displayed Chains</property>
                                            <property name="justify">center</property>
                                            <property name="xalign">0.4000000059604645</property>
                                          </object>
                                        </child>
                                        <child>
                                          <object class="GtkBox" id="ncs_controller_molecule_n_display_chain_vbox">
                                            <property name="orientation">vertical</property>
                                            <child>
                                              <object class="GtkCheckButton" id="ncs_controller_molecule_n_display_chain_ich_checkbutton">
                                                <property name="label" translatable="yes">Chain A</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkCheckButton" id="checkbutton4">
                                                <property name="label" translatable="yes">checkbutton4</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkCheckButton" id="checkbutton5">
                                                <property name="label" translatable="yes">checkbutton5</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkBox" id="vbox174">
                                        <property name="orientation">vertical</property>
                                        <child>
                                          <object class="GtkLabel" id="label265">
                                            <property name="label" translatable="yes">NCS Master Chain</property>
                                            <property name="justify">center</property>
                                            <property name="xalign">0.4000000059604645</property>
                                          </object>
                                        </child>
                                        <child>
                                          <object class="GtkBox" id="ncs_controller_molecule_n_vbox">
                                            <property name="orientation">vertical</property>
                                            <child>
                                              <object class="GtkCheckButton" id="ncs_controller_ncs_master_chain_ich_radiobutton">
                                                <property name="label" translatable="yes">Chain A</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkCheckButton" id="radiobutton4">
                                                <property name="label" translatable="yes">radiobutton4</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                                <property name="group">ncs_controller_ncs_master_chain_ich_radiobutton</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkCheckButton" id="radiobutton5">
                                                <property name="label" translatable="yes">radiobutton5</property>
                                                <property name="can-focus">1</property>
                                                <property name="use-underline">1</property>
                                                <property name="group">ncs_controller_ncs_master_chain_ich_radiobutton</property>
                                              </object>
                                            </child>
                                          </object>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child type="label">
                              <object class="GtkLabel" id="label321">
                                <property name="label" translatable="yes">molecule N</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">ncs_control_ok_button</action-widget>
    </action-widgets>
  </object>

  <object class="GtkDialog" id="molecule_chooser_dialog">
    <property name="title" translatable="yes">Coot: Molecule Chooser</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkComboBoxText" id="molecule_chooser_comboboxtext">
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>

        <child>
          <object class="GtkEntry" id="molecule_chooser_entry">
            <property name="width-request">10</property>
            <property name="can-focus">1</property>
          </object>
        </child>

        <child>
          <object class="GtkSeparator">
          </object>
        </child>

        <child>
          <object class="GtkBox" id="molecule_chooser_buttons_vbox">
            <property name="orientation">horizontal</property>
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>

            <child>
              <object class="GtkButton" id="molecule_chooser_cancel_button">
                <property name="label">Cancel</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>

            <child>
              <object class="GtkButton" id="molecule_chooser_ok_button">
                <property name="label">   OK  </property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>

          </object>
        </child>

      </object>
    </child>
  </object>


  <object class="GtkDialog" id="ncs_maps_dialog">
    <property name="title" translatable="yes">NCS Maps Dialog</property>
    <child>
      <object class="GtkBox" id="dialog-vbox80">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox118">
                <child>
                  <object class="GtkButton" id="ncs_maps_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_ncs_maps_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="ncs_maps_ok_button">
                    <property name="label" translatable="yes">   OK   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_ncs_maps_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame143">
            <child>
              <object class="GtkBox" id="vbox147">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame146">
                    <child>
                      <object class="GtkBox" id="vbox149">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkFrame" id="no_models_frame1">
                            <child>
                              <object class="GtkLabel" id="label232">
                                <property name="label" translatable="yes">WARNING:: No Models with NCS Available</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="ncs_maps_models_vbox">
                            <property name="orientation">vertical</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label314">
                        <property name="label" translatable="yes">Select Model</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame144">
                    <child>
                      <object class="GtkBox" id="vbox148">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkFrame" id="no_maps_frame">
                            <child>
                              <object class="GtkLabel" id="label231">
                                <property name="label" translatable="yes">WARNING:: No Maps Available!</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="ncs_maps_maps_vbox">
                            <property name="orientation">vertical</property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label315">
                        <property name="label" translatable="yes">Select Map</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="new_close_molecules_dialog">
    <property name="title" translatable="yes">Coot: Delete Molecules</property>
    <child>
      <object class="GtkBox" id="dialog-vbox67">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame121">
            <child>
              <object class="GtkBox" id="vbox126">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkBox" id="hbox107">
                    <child>
                      <object class="GtkLabel" id="label209">
                        <property name="label" translatable="yes">     Delete Checked Molecules:   </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow16">
                    <property name="hexpand">1</property>
                    <property name="vexpand">1</property>
                    <property name="height-request">200</property>
                    <child>
                      <object class="GtkViewport" id="viewport9">
                        <child>
                          <!-- dynamically add checkbuttons -->
                          <object class="GtkBox" id="new_delete_molecules_vbox">
                            <property name="orientation">vertical</property>
                            <property name="hexpand">1</property>
                            <property name="vexpand">1</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
         <child type="action">
              <object class="GtkBox" id="hbox108">
                <child>
                  <object class="GtkButton" id="new_delete_molecules_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <signal name="clicked" handler="on_new_delete_molecules_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="new_delete_molecules_ok_button">
                    <property name="label" translatable="yes">  Delete Marked Molecules &amp; Maps  </property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <signal name="clicked" handler="on_new_delete_molecules_ok_button_clicked" swapped="no"/>
                    <style>
                      <class name="destructive-action"/>
                    </style>
                  </object>
                </child>
              </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="new_ligands_info_dialog">
    <property name="title" translatable="yes">New Ligands</property>
    <child>
      <object class="GtkBox" id="dialog-vbox40">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox103">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="new_ligands_info_dialog_label">
                <property name="label" translatable="yes">Found 4 acceptable ligands</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label148">
                <property name="label" translatable="yes">Use Display Manager and Goto Atom
Molecule to navigate these
new molecules</property>
              <property name="justify">center</property>
              <property name="margin-start">4</property>
              <property name="margin-end">4</property>
              <property name="margin-top">4</property>
              <property name="margin-bottom">4</property>
              </object>
            </child>
          </object>
        </child>
         <child type="action">
              <object class="GtkButton" id="new_ligands_info_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_new_ligands_info_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">new_ligands_info_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="no_bad_chiral_volumes_dialog">
    <property name="title" translatable="yes">Clean!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox52">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="no_bad_chiral_volumes_dialog_ok_button">
                <property name="label" translatable="yes">   Good   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_no_bad_chiral_volumes_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame105">
            <child>
              <object class="GtkLabel" id="label170">
                <property name="label" translatable="yes">Coot detected no bad chiral volumes
in this molecule.</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">no_bad_chiral_volumes_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="no_cif_dictionary_bonds_dialog">
    <property name="title" translatable="yes">No Restraints in Dictionary!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox35">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="no_cif_dictionary_bonds_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_no_cif_dictionary_bonds_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame79">
            <child>
              <object class="GtkLabel" id="label132">
                <property name="label" translatable="yes">Ooops! CIF Dictionary contains no restraints!</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">no_cif_dictionary_bonds_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="no_new_ligands_info_dialog">
    <property name="title" translatable="yes">No New Ligands</property>
    <child>
      <object class="GtkBox" id="dialog-vbox41">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="no_new_ligands_info_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_no_new_ligands_info_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkLabel" id="label149">
            <property name="label" translatable="yes">Sadly no ligands were found.

Perhaps there were no ligands to be found?

Alternatively you could try to reduce the search
density level or the acceptable fit fraction.</property>
            <property name="justify">center</property>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">no_new_ligands_info_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="no_restraints_info_dialog">
    <property name="title" translatable="yes">No Restraints!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox34">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="no_restraints_info_dialog_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_no_restraints_info_dialog_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame78">
            <child>
              <object class="GtkLabel" id="label131">
                <property name="label" translatable="yes">
No Restraints Found!

Non-existent or minimal description of restrained residues.

Are you sure that you read a non-minimal mmCIF dictionary
for this monomer? Are you sure the PDB residue name
matches the dictionary residue name?

If not, try File -&gt; Import CIF Dictionary

Alternatively, did you check that the atom names of the
PDB file match those of the restraints?
</property>
                <property name="justify">center</property>
                <property name="xalign">0</property>
                <property name="yalign">0</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">no_restraints_info_dialog_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="no_symmetry_warning_dialog">
    <property name="title" translatable="yes">No Symmetry!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox47">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="no_symmetry_warning_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_no_symmetry_warning_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkLabel" id="label157">
            <property name="label" translatable="yes">

WARNING!

Symmetry Library not found

If you need symmetry, setup ccp4 before starting coot


</property>
            <property name="justify">center</property>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">no_symmetry_warning_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="nothing_bad_dialog">
    <property name="title" translatable="yes">Coot: Info</property>
    <child>
      <object class="GtkBox" id="nothing_bad_dialog_vbox">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkFrame" id="nothing_bad_frame">
            <property name="name">nothing_bad_frame</property>

            <child>
              <object class="GtkBox" id="nothing_bad_hbox">
                <property name="orientation">horizontal</property>
                <property name="margin-start">20</property>
                <property name="margin-end">20</property>
                <property name="margin-top">20</property>
                <property name="margin-bottom">20</property>

	        <!-- <child> -->
	        <!--   <object class="GtkImage" id="info_dialog_info_image"> -->
	        <!--     <property name="visible">True</property> -->
	        <!--     <property name="file">Stock-dialog-information.svg</property> -->
                <!--     <property name="width-request">80</property> -->
                <!--   </object> -->
                <!-- </child> -->

	        <!-- <child> -->
	        <!--   <object class="GtkImage" id="info_dialog_warning_image"> -->
	        <!--     <property name="visible">True</property> -->
	        <!--     <property name="file">Stock-dialog-warning.svg</property> -->
                <!--     <property name="width-request">80</property> -->
                <!--   </object> -->
                <!-- </child> -->

                <child>
                  <object class="GtkBox" id="nothing_bad_image_box">
                    <property name="orientation">horizontal</property>
                  </object>
                </child>


                <child>
                  <object class="GtkLabel" id="nothing_bad_label">
                    <property name="margin-start">30</property>
                    <property name="margin-end">30</property>
                    <property name="margin-top">30</property>
                    <property name="margin-bottom">30</property>
                    <property name="label" translatable="yes">Nothing Bad</property>
                    <property name="use-markup">1</property>
                    <property name="justify">center</property>
                  </object>
                </child>

              </object>
            </child>

          </object>
        </child>

        <child type="action">
          <object class="GtkButton" id="nothing_bad_ok_button">
            <property name="label" translatable="yes">  OK  </property>
            <property name="can-focus">1</property>
            <property name="use-underline">1</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <signal name="clicked" handler="on_nothing_bad_ok_button_clicked" swapped="no"/>
          </object>
        </child>


      </object>
    </child>

    <!-- <child> -->  <!-- something like this - not this though -->
    <!--     <object class="GtkImage" id="info_dialog_warning_image"> -->
    <!--       <property name="stock">gtk-dialog-warning</property> -->
    <!--       <property name="icon_size">6</property> -->
    <!--       <property name="xalign">0.5</property> -->
    <!--       <property name="yalign">0.5</property> -->
    <!--       <property name="xpad">0</property> -->
    <!--       <property name="ypad">0</property> -->
    <!--     </object> -->
    <!-- </child> -->

    <action-widgets>
      <action-widget response="0">nothing_bad_ok_button</action-widget>
    </action-widgets>
  </object>

  <object class="GtkDialog" id="nothing_to_recover_dialog">
    <property name="title" translatable="yes">Nothing to Recover</property>
    <child>
      <object class="GtkBox" id="dialog-vbox48">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="nothing_to_recover_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_nothing_to_recover_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame97">
            <child>
              <object class="GtkLabel" id="label158">
                <property name="label" translatable="yes">Nothing to recover</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">nothing_to_recover_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="nucleic_acid_base_chooser_dialog">
    <property name="title" translatable="yes">Base</property>
    <signal name="destroy" handler="on_nucleic_acid_base_chooser_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox85">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="base_chooser_cancel_button">
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_base_chooser_cancel_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame155">
            <child>
              <object class="GtkBox" id="vbox160">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkButton" id="base_chooser_A_button">
                    <property name="label" translatable="yes">  Adenine (A)  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_base_chooser_A_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="base_chooser_C_button">
                    <property name="label" translatable="yes">  Cytosine (C)  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_base_chooser_C_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="base_chooser_G_button">
                    <property name="label" translatable="yes">  Guanine (G)  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_base_chooser_G_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="base_chooser_T_button">
                    <property name="label" translatable="yes">  Thymine (T)  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_base_chooser_T_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="base_chooser_U_button">
                    <property name="label" translatable="yes">  Uracil (U)  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_base_chooser_U_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">base_chooser_cancel_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="nucleotide_builder_dialog">
    <property name="title" translatable="yes">Nucleotide Builder</property>
    <child>
      <object class="GtkBox" id="dialog-vbox94">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox179">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label282">
                <property name="label" translatable="yes">Nucleotide Builder</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame164">
                <child>
                  <object class="GtkBox" id="vbox180">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label283">
                        <property name="label" translatable="yes">  Nucleotide Type:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkComboBoxText" id="nucleotide_builder_type_combobox">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <property name="active">0</property>
                        <items>
                          <item translatable="yes">RNA</item>
                          <item translatable="yes">DNA</item>
                        </items>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame165">
                <child>
                  <object class="GtkBox" id="vbox181">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label284">
                        <property name="label" translatable="yes">  Form:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>

                    <child>
                      <object class="GtkComboBoxText" id="nucleotide_builder_form_combobox">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <property name="active">0</property>
                        <items>
                          <item translatable="yes">A</item>
                          <item translatable="yes">B</item>
                        </items>
                      </object>
                    </child>
                    
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame166">
                <child>
                  <object class="GtkBox" id="vbox182">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label285">
                        <property name="label" translatable="yes">  Strandedness:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="nucleotide_builder_strand_combobox">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <property name="active">0</property>
                        <items>
                          <item translatable="yes">Single Stranded</item>
                          <item translatable="yes">Double Stranded</item>
                        </items>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame167">
                <child>
                  <object class="GtkBox" id="vbox183">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="label286">
                        <property name="label" translatable="yes">  Sequence:</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="nucleotide_sequence">
                        <property name="can-focus">1</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox142">
            <property name="homogeneous">1</property>
            <child>
              <object class="GtkButton" id="ideal_rna_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_ideal_rna_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="ideal_rna_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_ideal_rna_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="other_model_tools_dialog">
    <property name="title" translatable="yes">Other Modelling Tools</property>
    <signal name="destroy" handler="on_other_model_tools_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox89">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkFrame" id="frame160">
            <child>
              <object class="GtkBox" id="vbox163">
                <property name="spacing">4</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkButton" id="model_refine_dialog_find_ligands_button">
                    <property name="label" translatable="yes">Find Ligands...</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_model_refine_dialog_find_ligands_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkToggleButton" id="cis_trans_conversion_toggle_button">
                    <property name="label" translatable="yes">   Cis ↔ Trans  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_cis_trans_conversion_toggle_button_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="model_refine_dialog_baton_button">
                    <property name="label" translatable="yes">Ca Baton Mode...</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_model_refine_dialog_baton_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="model_refine_dialog_add_OXT_button">
                    <property name="label" translatable="yes">Add OXT to Residue...</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_model_refine_dialog_add_OXT_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkToggleButton" id="reverse_fragment_direction_togglebutton">
                    <property name="label" translatable="yes">Reverse Direction</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_reverse_fragment_direction_togglebutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="place_helix_here_button">
                    <property name="label" translatable="yes">Place Helix Here</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_place_helix_here_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="other_tools_RNA_button">
                    <property name="label" translatable="yes">Ideal DNA/RNA...</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_other_tools_RNA_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="set_undo_molecule_button">
                    <property name="label" translatable="yes"> Choose &quot;Undo&quot; Molecule... </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_set_undo_molecule_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child type="action">
          <object class="GtkButton" id="other_modelling_tools_close_button">
            <property name="label" translatable="yes">   Close   </property>
            <property name="can-focus">1</property>
            <property name="use-underline">1</property>
            <signal name="clicked" handler="on_other_modelling_tools_close_button_clicked" swapped="no"/>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
          </object>
        </child>

      </object>
    </child>
    <action-widgets>
      <action-widget response="0">other_modelling_tools_close_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="pepflips_by_difference_map_dialog">
    <property name="title">Coot: Pepflips by Difference Map</property>
    <signal name="close" handler="on_pepflips_by_difference_map_dialog_close" swapped="no"/>
    <signal name="response" handler="on_pepflips_by_difference_map_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox" id="pepflips_by_difference_map_dialog_internal_vbox">
        <property name="orientation">vertical</property>
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <property name="spacing">6</property>

        <child>
          <object class="GtkBox" id="pepflips_by_difference_map_dialog_vbox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Difference Map:</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="pepflips_by_difference_map_dialog_map_comboboxtext">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Model:</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="pepflips_by_difference_map_dialog_model_comboboxtext">
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <child>
                  <object class="GtkLabel" id="pepflips_by_difference_map_dialog_entry_label">
                    <property name="label" translatable="yes">   n-rmsd cut-off:  </property>
                  </object>
                </child>
                <child>
                  <object class="GtkEntry" id="pepflips_by_difference_map_dialog_entry">
                    <property name="can-focus">1</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">6</property>
            <child type="action">
              <object class="GtkButton" id="pepflips_by_difference_map_dialog_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
            </child>
            <child type="action">
              <object class="GtkButton" id="pepflips_by_difference_map_dialog_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-5">pepflips_by_difference_map_dialog_ok_button</action-widget>
      <action-widget response="-6">pepflips_by_difference_map_dialog_cancel_button</action-widget>
    </action-widgets>
  </object>

  <object class="GtkWindow" id="phs_cell_choice_window">
    <property name="title" translatable="yes">Choose Cell for PHS file:</property>
    <child>
      <object class="GtkBox" id="vbox39">
        <property name="width-request">290</property>
        <property name="height-request">126</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label67">
            <property name="label" translatable="yes">Choose a Symmetry and Cell for the Phases file</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="phs_cell_chooser_vbox">
            <property name="orientation">vertical</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox32">
            <child>
              <object class="GtkButton" id="phs_cell_choice_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_phs_cell_choice_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="phs_cell_choice_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_phs_cell_choice_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkFileChooserDialog" id="phs_coordinates_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select PHS</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="phs_coordinates_filechooser_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkWindow" id="phs_info_box">
    <property name="title" translatable="yes">.phs Info</property>
    <child>
      <object class="GtkBox" id="vbox29">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame26">
            <child>
              <object class="GtkLabel" id="label36">
                <property name="label" translatable="yes">.phs files additionally need cell and symmetry.
 We need a pdb file to assign them.

(Note that this will not read coordinates -
just the cell and symmetry)
</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame27">
            <child>
              <object class="GtkBox" id="hbox19">
                <child>
                  <object class="GtkButton" id="phs_info_cancel_button">
                    <property name="label" translatable="yes">Cancel</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_phs_info_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="phs_info_ok_button">
                    <property name="label" translatable="yes">OK</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_phs_info_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="pointer_atom_type_dialog">
    <property name="title" translatable="yes">Pointer atom type</property>
    <child>
      <object class="GtkBox" id="dialog-vbox21">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox52">
                <property name="homogeneous">1</property>
                <child>
                  <object class="GtkButton" id="pointer_atom_type_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_pointer_atom_type_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="pointer_atom_type_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_pointer_atom_type_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox77">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label104">
                <property name="label" translatable="yes">Pointer Atom Type:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame61">
                <child>
                  <object class="GtkBox" id="vbox78">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_water">
                        <property name="label" translatable="yes">Water</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_ca">
                        <property name="label" translatable="yes">Ca (calcium)</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_mg">
                        <property name="label" translatable="yes">Mg</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_na">
                        <property name="label" translatable="yes">Na</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_cl">
                        <property name="label" translatable="yes">Cl</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_br">
                        <property name="label" translatable="yes">Br</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_so4">
                        <property name="label" translatable="yes">SO4</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="pointer_atom_type_radiobutton_po4">
                        <property name="label" translatable="yes">PO4</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">pointer_atom_type_radiobutton_water</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="frame81">
                        <child>
                          <object class="GtkBox" id="hbox70">
                            <child>
                              <object class="GtkButton" id="pointer_atom_type_other_button">
                                <property name="label" translatable="yes">Other...</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="clicked" handler="on_pointer_atom_type_other_button_clicked" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkEntry" id="pointer_atom_type_other_entry">
                                <property name="sensitive">0</property>
                                <property name="can-focus">1</property>
                                <property name="primary-icon-activatable">0</property>
                                <property name="secondary-icon-activatable">0</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame80">
                <child>
                  <object class="GtkComboBox" id="pointer_atom_molecule_combobox">
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label12">
                    <property name="label" translatable="yes">Pointer Atom Added to Molecule:</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="pointer_distances_dialog">
    <property name="title" translatable="yes">Pointer Distances</property>
    <child>
      <object class="GtkBox" id="dialog-vbox81">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="pointer_distances_frame">
            <child>
              <object class="GtkBox" id="vbox150">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="pointer_distances_checkbutton">
                    <property name="label" translatable="yes"> Show Pointer Distances</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_pointer_distances_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkGrid" id="show_pointer_distances_grid">
                    <child>
                      <object class="GtkLabel" id="label233">
                        <property name="label" translatable="yes">  Min Distance  </property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label234">
                        <property name="label" translatable="yes">  Max Distance</property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">0</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="pointer_distances_min_dist_entry">
                        <property name="xalign">0</property>
                        <signal name="activate" handler="on_pointer_distances_min_dist_entry_activate"/>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="pointer_distances_max_dist_entry">
                        <property name="xalign">0</property>
                        <signal name="activate" handler="on_pointer_distances_max_dist_entry_activate"/>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label235">
                        <property name="label" translatable="yes"> Ångströms  </property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">2</property>
                          <property name="row">0</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label236">
                        <property name="label" translatable="yes"> Ångströms  </property>
                        <property name="justify">center</property>
                        <property name="xalign">0</property>
                        <property name="xalign">0</property>
                        <layout>
                          <property name="column">2</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkButton" id="pointer_distances_ok_button">
            <property name="label" translatable="yes">   OK   </property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <signal name="clicked" handler="on_pointer_distances_ok_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">pointer_distances_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="popup_info_window">
    <property name="title" translatable="yes">window2</property>
    <child>
      <object class="GtkFrame" id="frame147">
        <child>
          <object class="GtkLabel" id="info_label">
            <property name="label" translatable="yes">Sample text.</property>
            <property name="justify">center</property>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="preferences">
    <property name="title" translatable="yes">Preferences</property>
    <signal name="destroy" handler="on_preferences_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox77">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox115">
                <child>
                  <object class="GtkButton" id="preferences_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_preferences_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox114">
            <child>
              <object class="GtkFrame" id="frame137">
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="ramachandran_plot_differences_dialog">
    <property name="title" translatable="yes">Ramachandran Plot Differences</property>
    <child>
      <object class="GtkBox" id="dialog-vbox83">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox122">
                <property name="homogeneous">1</property>
                <child>
                  <object class="GtkButton" id="ramachandran_plot_differences_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_ramachandran_plot_differences_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="ramachandran_plot_differences_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_ramachandran_plot_differences_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox152">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label242">
                <property name="label" translatable="yes">Ramachandran Plot Differences</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame150">
                <child>
                  <object class="GtkBox" id="vbox153">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame" id="frame151">
                        <child>
                          <object class="GtkBox" id="vbox154">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="ramachandran_plot_differences_first_chain_checkbutton">
                                <property name="label" translatable="yes">Use Specific Chain</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="toggled" handler="on_ramachandran_plot_differences_first_chain_checkbutton_toggled" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label316">
                    <property name="label" translatable="yes">First Structure</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label243">
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame152">
                <child>
                  <object class="GtkBox" id="vbox155">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame" id="frame153">
                        <child>
                          <object class="GtkBox" id="vbox156">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="ramachandran_plot_differences_second_chain_checkbutton">
                                <property name="label" translatable="yes">Use Specific Chain</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="toggled" handler="on_ramachandran_plot_differences_second_checkbutton_toggled" swapped="no"/>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label317">
                    <property name="label" translatable="yes">Second Structure</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="read_pdb_recentre_dialog">
    <property name="title" translatable="yes">Recentre Dialog</property>
    <child>
      <object class="GtkBox" id="dialog-vbox20">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="read_pdb_recentre_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_read_pdb_recentre_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox75">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label103">
                <property name="label" translatable="yes">Recentre on read new PDB?</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame60">
                <child>
                  <object class="GtkBox" id="vbox76">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="read_pdb_recentre_yes_radiobutton">
                        <property name="label" translatable="yes">  Yes  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="toggled" handler="on_read_pdb_recentre_yes_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="read_pdb_recentre_no_radiobutton">
                        <property name="label" translatable="yes">  No  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">read_pdb_recentre_yes_radiobutton</property>
                        <signal name="toggled" handler="on_read_pdb_recentre_no_radiobutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">read_pdb_recentre_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="recover_coordinates_dialog">
    <property name="title" translatable="yes">Recover Coordinates</property>
    <child>
      <object class="GtkBox" id="dialog-vbox44">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox82">
                <child>
                  <object class="GtkButton" id="recover_coordinates_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_recover_coordinates_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="recover_coordinates_ok_button">
                    <property name="label" translatable="yes">  Recover  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_recover_coordinates_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame88">
            <child>
              <object class="GtkBox" id="vbox107">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label153">
                    <property name="label" translatable="yes">Read Coordinates:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="recover_coordinates_read_coords_label">
                    <property name="label" translatable="yes">molecule name</property>
                    <property name="justify">center</property>
                    <property name="xalign">0.00000000745058015283</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="label154">
                    <property name="label" translatable="yes">Backup Coordinates:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="recover_coordinates_backup_coordinates_label">
                    <property name="label" translatable="yes">filename</property>
                    <property name="justify">center</property>
                    <property name="xalign">0.00000000745058015283</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  

  <object class="GtkDialog" id="remarks_browser_molecule_chooser_dialog">
    <property name="title" translatable="yes">Coot Header Browser for Molecule</property>
    <signal name="response" handler="on_remarks_browser_molecule_chooser_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">12</property>
        <child>
          <object class="GtkComboBoxText" id="remarks_browser_molecule_chooser_combobox_text">
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">8</property>
            <property name="margin-bottom">6</property>
            <property name="homogeneous">1</property>

            <child type="action">
              <object class="GtkButton" id="remarks_browser_molecule_chooser_dialog_cancel_button">
                <property name="label">Cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
              </object>
            </child>

            <child type="action">
              <object class="GtkButton" id="remarks_browser_molecule_chooser_dialog_ok_button">
                <property name="label">OK</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
              </object>
            </child>

          </object>
        </child>

      </object>
    </child>
    <action-widgets>
      <action-widget response="-5">remarks_browser_molecule_chooser_dialog_ok_button</action-widget>
      <action-widget response="-6">remarks_browser_molecule_chooser_dialog_cancel_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="renumber_residue_range_dialog">
    <property name="title" translatable="yes">Coot: Renumber Residue Range</property>
    <child>
      <object class="GtkBox" id="dialog-vbox60">
        <property name="margin-start">4</property>
        <property name="margin-end">4</property>
        <property name="margin-top">4</property>
        <property name="margin-bottom">4</property>
        <property name="spacing">10</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame113">
            <child>
              <object class="GtkBox" id="vbox120">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label192">
                    <property name="label" translatable="yes">Renumber Residue Range of Molecule:</property>
                    <property name="justify">center</property>
                    <property name="xalign">0.04</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBoxText" id="renumber_residue_range_molecule_combobox">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <signal name="changed" handler="on_renumber_residues_molecule_combobox_changed" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox95">
                    <child>
                      <object class="GtkLabel" id="label193">
                        <property name="label" translatable="yes">  Chain ID:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkComboBoxText" id="renumber_residue_range_chain_id_combobox">
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox96">
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <child>
                              <object class="GtkCheckButton" id="renumber_residue_range_radiobutton_1">
                                <property name="label" translatable="yes">N-terminus</property>
                                <property name="can-focus">1</property>
                                <property name="active">1</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="renumber_residue_range_radiobutton_2">
                                <property name="label" translatable="yes">Residue</property>
                                <property name="can-focus">1</property>
                                <property name="group">renumber_residue_range_radiobutton_1</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkEntry" id="renumber_residue_range_resno_1_entry">
                                <property name="can-focus">1</property>
                                <property name="width-chars">4</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> Start Residue </property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label195">
                        <property name="label" translatable="yes">  to  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <child>
                              <object class="GtkCheckButton" id="renumber_residue_range_radiobutton_3">
                                <property name="label" translatable="yes">Residue</property>
                                <property name="can-focus">1</property>
                                <property name="active">1</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkEntry" id="renumber_residue_range_resno_2_entry">
                                <property name="can-focus">1</property>
                                <property name="width-chars">4</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkCheckButton" id="renumber_residue_range_radiobutton_4">
                                <property name="label" translatable="yes">C-terminus </property>
                                <property name="can-focus">1</property>
                                <property name="group">renumber_residue_range_radiobutton_3</property>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes"> End Residue </property>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label196">
                        <property name="label" translatable="yes">  (inclusive)  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox97">
                    <child>
                      <object class="GtkLabel" id="label197">
                        <property name="label" translatable="yes">  Apply Offset:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="renumber_residue_range_offset_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox98">
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="spacing">10</property>
            <child>
              <object class="GtkButton" id="renumber_residue_range_cancel_button">
                <property name="label" translatable="yes"> Cancel </property>
                <signal name="clicked" handler="on_renumber_residue_range_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="renumber_residue_range_ok_button">
                <property name="label" translatable="yes"> Renumber </property>
                <signal name="clicked" handler="on_renumber_residue_range_ok_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <!-- this should be an overlay, I think -->
  <object class="GtkDialog" id="residue_editor_select_monomer_type_dialog">
    <property name="title" translatable="yes">Coot: Select Monomer Type</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Select Monomer Type</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="residue_editor_select_monomer_type_combobox">
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>

            <child>
              <object class="GtkButton" id="residue_editor_select_monomer_type_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_residue_editor_select_monomer_type_cancel_button_clicked" />
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_editor_select_monomer_type_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_residue_editor_select_monomer_type_ok_button_clicked" />
              </object>
            </child>

          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="residue_info_dialog">
    <property name="title" translatable="yes">Coot: Residue Info</property>
    <child>
      <object class="GtkBox" id="dialog-vbox14">
        <property name="orientation">vertical</property>
        <property name="spacing">8</property>
        <child>
          <object class="GtkBox" id="vbox65">
            <property name="spacing">4</property>
            <property name="height-request">450</property>
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="residue_info_residue_label">
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="label" translatable="yes">Residue: </property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="residue_info_residue_name_label">
                <property name="label" translatable="yes">residue_name_label</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame159">
                <child>
                  <object class="GtkBox" id="vbox164">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkBox" id="hbox130">
                        <child>
                          <object class="GtkEntry" id="residue_info_master_atom_occ_entry">
                            <property name="sensitive">0</property>
                            <property name="can-focus">1</property>
                            <signal name="activate" handler="on_residue_info_master_atom_occ_entry_activate" swapped="no"/>
                            <!-- not used now? -->
                            <signal name="changed" handler="on_residue_info_master_atom_occ_entry_changed" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkEntry" id="residue_info_master_atom_b_factor_entry">
                            <property name="sensitive">0</property>
                            <property name="can-focus">1</property>
                            <signal name="changed" handler="on_residue_info_master_atom_b_factor_entry_changed" swapped="no"/>
                            <signal name="activate" handler="on_residue_info_master_atom_b_factor_entry_activate" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="residue_info_occ_apply_all_checkbutton">
                        <property name="label" translatable="yes">Apply Occupancy to all atoms in residue?</property>
                        <property name="can-focus">1</property>
                        <signal name="toggled" handler="on_residue_info_occ_apply_all_checkbutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="residue_info_b_factor_apply_all_checkbutton">
                        <property name="label" translatable="yes">Apply Temperature Factor to all atoms in residue?</property>
                        <property name="can-focus">1</property>
                        <signal name="toggled" handler="on_residue_info_b_factor_apply_all_checkbutton_toggled" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label16">
                    <property name="label" translatable="yes">Master Atom</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow23">
                <property name="hexpand">1</property>
                <property name="vexpand">1</property>
                <child>
                  <object class="GtkViewport" id="viewport18">
                    <child>
                      <object class="GtkFrame" id="frame53">
                        <child>
                          <object class="GtkBox" id="residue_info_hbox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkGrid" id="residue_info_atom_grid">
                                <property name="column-homogeneous">0</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="residue_info_chi_angles_frame">
                <child>
                  <object class="GtkBox" id="residue_info_chi_1_vbox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="residue_info_chi_1_label">
                        <property name="label" translatable="yes">chi1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="residue_info_chi_2_label">
                        <property name="label" translatable="yes">chi2</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="residue_info_chi_3_label">
                        <property name="label" translatable="yes">chi3</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="residue_info_chi_4_label">
                        <property name="label" translatable="yes">label</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="residue_info_chi_5_label">
                        <property name="label" translatable="yes">label</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Chi Angles</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox49">
            <property name="spacing">4</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkButton" id="residue_info_cancel_button">
                <property name="label" translatable="yes">Close</property>
                <signal name="clicked" handler="on_residue_info_cancel_button_clicked" swapped="no"/>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_info_apply_button">
                <property name="label" translatable="yes">Apply</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_residue_info_apply_button_clicked" swapped="no"/>
                <style>
                  <class name="suggested-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <!-- is this still a thing? needs checking -->
  <object class="GtkWindow" id="residue_type_chooser_window">
    <property name="title" translatable="yes">Coot: Residue Type</property>
    <child>
      <object class="GtkFrame" id="frame50">
        <child>
          <object class="GtkBox" id="vbox62">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkCheckButton" id="residue_type_chooser_stub_checkbutton">
                <property name="label" translatable="yes">Stub</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="toggled" handler="on_residue_type_chooser_stub_checkbutton_toggled" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_ALA">
                <property name="label" translatable="yes">  ALA (A)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_ALA_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_ARG">
                <property name="label" translatable="yes">  ARG (R)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_ARG_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_ASN">
                <property name="label" translatable="yes">  ASN (N)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_ASN_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_ASP">
                <property name="label" translatable="yes">  ASP (D)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_ASP_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_CYS">
                <property name="label" translatable="yes">  CYS (C)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_CYS_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_GLN">
                <property name="label" translatable="yes">  GLN (Q)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_GLN_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_GLU">
                <property name="label" translatable="yes">  GLU (E)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_GLU_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_GLY">
                <property name="label" translatable="yes">  GLY (G)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_GLY_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_HIS">
                <property name="label" translatable="yes">  HIS (H)</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_HIS_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_ILE">
                <property name="label" translatable="yes">  ILE (I)</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_ILE_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_LEU">
                <property name="label" translatable="yes">  LEU (L)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_LEU_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_LYS">
                <property name="label" translatable="yes">  LYS (K)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_LYS_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_MET">
                <property name="label" translatable="yes">  MET (M)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_MET_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_MSE">
                <property name="label" translatable="yes">  MSE  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_MSE_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_PHE">
                <property name="label" translatable="yes">  PHE (F)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_PHE_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_PRO">
                <property name="label" translatable="yes">  PRO (P)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_PRO_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_SER">
                <property name="label" translatable="yes">  SER (S)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_SER_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_THR">
                <property name="label" translatable="yes">  THR (T)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_THR_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_TRP">
                <property name="label" translatable="yes">  TRP (W)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_TRP_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_TYR">
                <property name="label" translatable="yes">  TYR (Y)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_TYR_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="residue_type_chooser_VAL">
                <property name="label" translatable="yes">  VAL (V)  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_residue_type_chooser_VAL_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="rigid_body_refinement_failed_dialog">
    <property name="title" translatable="yes">Rigid Body Refine Failed!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox55">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="rigid_body_refinement_failed_dialog_ok_button">
                <property name="label" translatable="yes">   OK   </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_rigid_body_refinement_failed_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame107">
            <child>
              <object class="GtkLabel" id="label172">
                <property name="label" translatable="yes">
Rigid Body Refinement failed.
No sensible place to put the atoms.

Sorry.
</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">rigid_body_refinement_failed_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="rotamer_selection_dialog">
    <property name="width-request">250</property>
    <property name="height-request">250</property>
    <property name="title" translatable="yes">Coot: Select Rotamer</property>
    <child>
      <object class="GtkBox" id="dialog-vbox16">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkBox" id="vbox158">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow6">
                <property name="vexpand">1</property>
                <child>
                  <object class="GtkViewport" id="viewport3">
                    <property name="vexpand">1</property>
                    <child>
                      <object class="GtkBox" id="rotamer_selection_button_vbox">
                        <property name="orientation">vertical</property>
                        <property name="vexpand">1</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="new_alt_conf_occ_frame">
                <child>
                  <object class="GtkScale">
                    <property name="can-focus">1</property>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label17">
                    <property name="label" translatable="yes">New Alt Conf Occupancy</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child type="action">
              <object class="GtkBox" id="hbox50">
                <property name="homogeneous">1</property>
                <property name="spacing">4</property>
                <child>
                  <object class="GtkButton" id="rotamer_selection_cancel_button">
                    <property name="label">Cancel</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_rotamer_selection_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="rotamer_selection_ok_button">
                    <property name="label">  OK  </property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_rotamer_selection_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>

      </object>
    </child>
  </object>

  <object class="GtkDialog" id="rotate_translate_obj_dialog">
    <property name="width-request">320</property>
    <property name="title" translatable="yes">Rotation &amp; Translation</property>
    <signal name="destroy" handler="on_rotate_translate_obj_dialog_destroy" swapped="no"/>
    <child>
      <object class="GtkBox" id="dialog-vbox6">
        <property name="orientation">vertical</property>
        <property name="spacing">4</property>
        <child>
          <object class="GtkFrame" id="frame40">
            <child>
              <object class="GtkBox" id="vbox49">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame90">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_xtrans_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label18">
                        <property name="label" translatable="yes">X translation</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame91">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_ytrans_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label25">
                        <property name="label" translatable="yes">Y translation</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame92">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_ztrans_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label26">
                        <property name="label" translatable="yes">Z translation</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame93">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_xrot_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label27">
                        <property name="label" translatable="yes">X rotate</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame94">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_yrot_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label28">
                        <property name="label" translatable="yes">Y rotate</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame95">
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkScale" id="rotate_translate_obj_zrot_hscale">
                        <property name="can-focus">1</property>
                        <property name="round-digits">1</property>
                      </object>
                    </child>
                    <child type="label">
                      <object class="GtkLabel" id="label37">
                        <property name="label" translatable="yes">Z rotate</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox40">
            <property name="spacing">6</property>
            <property name="margin-start">4</property>
            <property name="margin-end">4</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkButton" id="rotate_translate_obj_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <signal name="clicked" handler="on_rotate_translate_obj_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="rotate_translate_obj_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <signal name="clicked" handler="on_rotate_translate_obj_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="rotation_centre_cube_size_window">
    <property name="title" translatable="yes">window2</property>
    <child>
      <object class="GtkBox" id="vbox38">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label50">
            <property name="label" translatable="yes">Rotation Centre Cube Size</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox31">
            <child>
              <object class="GtkLabel" id="label51">
                <property name="label" translatable="yes">Size:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="rotation_centre_cube_size_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label52">
                <property name="label" translatable="yes">Ångströms</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="rotation_centre_size_ok_button">
            <property name="label" translatable="yes">OK</property>
            <property name="can-focus">1</property>
            <property name="use-underline">1</property>
            <signal name="clicked" handler="on_rotation_centre_size_ok_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="run_refmac_dialog">
    <property name="title" translatable="yes">Run Refmac</property>
    <child>
      <object class="GtkBox" id="dialog-vbox22">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox56">
                <child>
                  <object class="GtkButton" id="run_refmac_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_run_refmac_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="run_refmac_run_button">
                    <property name="label" translatable="yes">  Run Refmac  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_run_refmac_run_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox81">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label109">
                <property name="label" translatable="yes">Choose Coordinates Molecule on which to run refmac:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame64">
              </object>
            </child>
            <child>
              <object class="GtkSeparator">
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label110">
                <property name="label" translatable="yes">Choose Map Molecule that has mtz column labels for refmac:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame65">
                <child>
                  <object class="GtkBox" id="hbox69">
                    <child>
                      <object class="GtkLabel" id="label130">
                        <property name="label" translatable="yes">    </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="run_refmac_help_button">
                        <property name="label" translatable="yes">  Help  </property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <signal name="clicked" handler="on_run_refmac_help_button_clicked" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame68">
                <child>
                  <object class="GtkCheckButton" id="run_refmac_diff_map_checkbutton">
                    <property name="label" translatable="yes">Display the resulting difference map also</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_run_refmac_diff_map_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame69">
                <child>
                  <object class="GtkCheckButton" id="run_refmac_phase_combine_checkbutton">
                    <property name="label" translatable="yes">Refmac Phase Combine with Phases used for Map</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_run_refmac_phase_combine_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame87">
                <child type="label">
                  <object class="GtkLabel" id="label38">
                    <property name="label" translatable="yes">CCP4i Project</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="run_refmac_help_dialog">
    <property name="title" translatable="yes">Help on Running Refmac:</property>
    <child>
      <object class="GtkBox" id="dialog-vbox33">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="run_refmac_help_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_run_refmac_help_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkLabel" id="label129">
            <property name="label" translatable="yes">

When you read in an MTZ file, you can assign the column labels
needed to run Refmac.

If this option menu is empty it means that you  have not assigned
Refmac labels from any MTZ file.  To fix, Cancel the &quot;Run Refmac&quot;
dialog, Use File -&gt; Open MTZ and assign Refmac column labels.
Then use &quot;Run Refmac...&quot; from the &quot;Model/Fit/Refine&quot; dialog.
</property>
            <property name="justify">center</property>
            <property name="xalign">0</property>
            <property name="yalign">0</property>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">run_refmac_help_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="run_script_filechooser_dialog">
    <property name="use-header-bar">1</property>
    <property name="title" translatable="yes">Coot: Select Script</property>
  </object>

  <object class="GtkDialog" id="run_state_file_dialog">
    <property name="title" translatable="yes">Coot Previously-Saved State</property>
    <child>
      <object class="GtkBox" id="dialog-vbox29">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox66">
                <child>
                  <object class="GtkButton" id="run_state_file_cancel_button">
                    <property name="label" translatable="yes"> No </property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_run_state_file_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="run_state_file_ok_button">
                    <property name="label" translatable="yes">Yes</property>
                    <property name="can-focus">1</property>
                    <signal name="clicked" handler="on_run_state_file_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox191">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label127">
                <property name="label" translatable="yes">There is a coot auto-save state file here</property>
                <property name="justify">center</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="mols_vbox">
                <property name="orientation">vertical</property>
              </object>
            </child>
            <child>
              <object class="GtkSeparator">
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label300">
                <property name="label" translatable="yes">Do you want to run it?</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="save_coordinates_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select Filename for Saving Coordinates</property>
    <property name="action">save</property>
    <signal name="response" handler="on_save_coordinates_filechooser_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="button8">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="save_coords_dialog">
    <property name="title" translatable="yes">Save Coordinates Molecule Selector</property>
    <child>
      <object class="GtkFrame">
        <child>
          <object class="GtkBox">
            <property name="spacing">6</property>
            <property name="orientation">vertical</property>

            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Select Molecule Number to Save:</property>
                <property name="justify">center</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>

            <child>
              <object class="GtkComboBoxText" id="save_coordinates_combobox">
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
              </object>
            </child>

            <child>
              <object class="GtkButton" id="save_coords_dialog_save_button">
                <signal name="clicked" handler="on_save_coords_dialog_save_button_clicked" swapped="no"/>
                <property name="label" translatable="yes">Save</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">10</property>
              </object>
            </child>

          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkFileChooserDialog" id="save_symmety_coords_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select Filename for Saving Symmetry Coordinates</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton">
                <property name="label" translatable="yes">button</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkFileChooserDialog" id="screendump_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Select Filename for Screendump</property>
    <property name="hide-on-close">true</property>
    <property name="action">save</property>
    <signal name="response" handler="on_screendump_filechooser_dialog_response" swapped="no"/>
    <child type="action">
        <object class="GtkButton" id="save_screendump_file_chooser_dialog_button_cancel">
            <property name="label" translatable="yes">Cancel</property>
            <property name="can-focus">1</property>
            <property name="receives-default">1</property>
        </object>
    </child>
    <child type="action">
        <object class="GtkButton" id="save_screendump_file_chooser_dialog_button_ok">
            <property name="label" translatable="yes"> OK</property>
            <property name="can-focus">1</property>
            <property name="receives-default">1</property>
        </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">save_screendump_file_chooser_dialog_button_cancel</action-widget>
      <action-widget response="ok" default="true">save_screendump_file_chooser_dialog_button_ok</action-widget>
    </action-widgets>

  </object>

  <object class="GtkDialog" id="select_fitting_map_dialog">
    <property name="title" translatable="yes">Select Map for Fitting</property>
    <child>
      <object class="GtkBox" id="dialog-vbox32">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame77">
            <child>
              <object class="GtkBox" id="vbox95">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label128">
                    <property name="label" translatable="yes">Choose a Map:</property>
                    <property name="justify">center</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                  </object>
                </child>
                <child>
                  <object class="GtkComboBox" id="select_map_for_fitting_combobox">
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes"> Set Weight: </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="select_fitting_map_dialog_weight_entry">
                        <property name="can-focus">1</property>
                        <property name="width-chars">8</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">  or  </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="select_fitting_map_dialog_estimate_button">
                        <property name="label" translatable="yes">Estimate</property>
                        <property name="can-focus">1</property>
                        <property name="receives-default">1</property>
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                        <signal name="clicked" handler="on_select_fitting_map_dialog_estimate_button_clicked" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="margin-top">5</property>
            <property name="margin-bottom">5</property>
            <property name="margin-start">2</property>
            <property name="margin-end">2</property>
          </object>
        </child>
        <child type="action">
          <object class="GtkButton" id="select_map_for_fitting_button">
            <property name="label" translatable="yes">  OK  </property>
            <property name="can-focus">1</property>
            <property name="use-underline">1</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <signal name="clicked" handler="on_select_map_for_fitting_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">select_map_for_fitting_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="shader_settings_dialog">
    <property name="title" translatable="yes">Coot Shader Settings</property>
    <signal name="close" handler="on_shader_settings_dialog_close" swapped="no"/>
    <signal name="destroy" handler="on_shader_settings_dialog_destroy" swapped="no"/>
    <signal name="response" handler="on_shader_settings_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="margin-start">8</property>
        <property name="margin-end">8</property>
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkBox" id="shader_settings_vbox">
            <property name="margin-start">8</property>
            <property name="margin-end">8</property>
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkBox">
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkToggleButton" id="shader_settings_basic_mode_togglebutton">
                        <property name="label" translatable="yes">Basic   </property>
                        <property name="can-focus">1</property>
                        <property name="active">1</property>
                        <property name="margin-top">2</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                        <signal name="toggled" handler="on_shader_settings_basic_mode_togglebutton_toggled" swapped="no"/>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="shader_settings_standard_mode_togglebutton">
                        <property name="label" translatable="yes">Plain   </property>
                        <property name="can-focus">1</property>
                        <property name="group">shader_settings_basic_mode_togglebutton</property>
                        <signal name="toggled" handler="on_shader_settings_standard_mode_togglebutton_toggled" swapped="no"/>
                        <property name="margin-top">2</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkToggleButton" id="shader_settings_fancy_mode_togglebutton">
                        <property name="label" translatable="yes">Fancy   </property>
                        <property name="can-focus">1</property>
                        <property name="group">shader_settings_basic_mode_togglebutton</property>
                        <signal name="toggled" handler="on_shader_settings_fancy_mode_togglebutton_toggled" swapped="no"/>
                        <property name="margin-top">2</property>
                        <property name="margin-bottom">2</property>
                        <property name="margin-start">4</property>
                        <property name="margin-end">4</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Shader/Lighting Mode</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkCheckButton" id="shader_settings_do_depth_fog_checkbutton">
                    <property name="label" translatable="yes">Enable</property>
                    <property name="can-focus">0</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">0</property>
                    <property name="margin-bottom">4</property>
                    <signal name="toggled" handler="on_shader_settings_do_depth_fog_checkbutton_toggled" swapped="no"/>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Depth Fog</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">2</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <property name="spacing">4</property>
                <child>
                  <object class="GtkBox" id="shader_settings_fancy_vbox1">
                    <property name="spacing">4</property>
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkScale" id="shader_settings_brightness_scale">
                            <property name="can-focus">1</property>
                            <property name="round-digits">2</property>
                            <property name="digits">2</property>
                            <signal name="value-changed" handler="on_shader_settings_brightness_scale_value_changed" swapped="no"/>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Brightness</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="screen_space_ambient_occlusion_frame">
                        <child>
                          <object class="GtkBox" id="screen_space_ambient_occlusion_vbox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_ssao_strength_scale">
                                    <property name="name">shader_settings_ssao_strength_scale</property>
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_ssao_strength_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">SSAO Strength</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_ssao_radius_scale">
                                    <property name="name">shader_settings_ssao_radius_scale</property>
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_ssao_radius_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">SSAO Radius</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_ssao_bias_scale">
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_ssao_bias_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">SSAO Bias</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_ssao_n_kernel_samples_scale">
                                    <property name="name">shader_settings_ssao_n_kernel_samples_scale</property>
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">0</property>
                                    <property name="digits">0</property>
                                    <signal name="value-changed" handler="on_shader_settings_ssao_n_kernel_samples_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">SSAO N Kernel  Samples</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkBox">
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_ssao_smoothing_blur_size_0_radiobutton">
                                        <property name="label" translatable="yes">0</property>
                                        <property name="can-focus">1</property>
                                        <property name="active">1</property>
                                        <signal name="toggled" handler="on_shader_settings_ssao_smoothing_blur_size_0_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_ssao_smoothing_blur_size_1_radiobutton">
                                        <property name="label" translatable="yes">1</property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_ssao_smoothing_blur_size_0_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_ssao_smoothing_blur_size_1_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_ssao_smoothing_blur_size_2_radiobutton">
                                        <property name="label" translatable="yes">2</property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_ssao_smoothing_blur_size_0_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_ssao_smoothing_blur_size_2_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">SSAO Smoothing Blur Size</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Screen-Space Ambient Occlusion</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="shader_settings_fancy_vbox2">
                    <property name="orientation">vertical</property>
                    <property name="spacing">4</property>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkScale" id="shader_settings_gamma_scale">
                            <property name="can-focus">1</property>
                            <property name="round-digits">2</property>
                            <property name="digits">2</property>
                            <signal name="value-changed" handler="on_shader_settings_gamma_scale_value_changed" swapped="no"/>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Gamma</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_shadow_strength_scale">
                                    <property name="name">shader_settings_shadow_strength_scale</property>
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_shadow_strength_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">Shadow Strength</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkBox">
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_softness_0_radiobutton">
                                        <property name="label" translatable="yes">0</property>
                                        <property name="can-focus">1</property>
                                        <property name="active">1</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_softness_0_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_softness_1_radiobutton">
                                        <property name="label" translatable="yes">1</property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_softness_0_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_softness_1_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_softness_2_radiobutton">
                                        <property name="label" translatable="yes">2</property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_softness_0_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_softness_2_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_softness_3_radiobutton">
                                        <property name="label" translatable="yes">3</property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_softness_0_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_softness_3_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">Shadow Softness</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkBox">
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_1_radiobutton">
                                        <property name="label" translatable="yes">1 </property>
                                        <property name="can-focus">1</property>
                                        <property name="active">1</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_1_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_2_radiobutton">
                                        <property name="label" translatable="yes">2 </property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_texture_resolution_multiplier_1_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_2_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_3_radiobutton">
                                        <property name="label" translatable="yes">3 </property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_texture_resolution_multiplier_1_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_3_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_4_radiobutton">
                                        <property name="label" translatable="yes">4 </property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_texture_resolution_multiplier_1_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_4_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_5_radiobutton">
                                        <property name="label" translatable="yes">5 </property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_texture_resolution_multiplier_1_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_5_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkCheckButton" id="shader_settings_shadow_texture_resolution_multiplier_6_radiobutton">
                                        <property name="label" translatable="yes">6 </property>
                                        <property name="can-focus">1</property>
                                        <property name="group">shader_settings_shadow_texture_resolution_multiplier_1_radiobutton</property>
                                        <signal name="toggled" handler="on_shader_settings_shadow_texture_resolution_multiplier_6_radiobutton_toggled" swapped="no"/>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">Shadow Texture Resolution Multiplier</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Shadows</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <child>
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkBox">
                                <child>
                                  <object class="GtkCheckButton" id="shader_settings_depth_blur_outline_off_radiobutton">
                                    <property name="label" translatable="yes">Off</property>
                                    <property name="can-focus">1</property>
                                    <property name="active">1</property>
                                    <signal name="toggled" handler="on_shader_settings_depth_blur_outline_off_radiobutton_toggled" swapped="no"/>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkCheckButton" id="shader_settings_depth_blur_outline_depth_blur_radiobutton">
                                    <property name="label" translatable="yes">Depth Blur</property>
                                    <property name="can-focus">1</property>
                                    <property name="group">shader_settings_depth_blur_outline_off_radiobutton</property>
                                    <signal name="toggled" handler="on_shader_settings_depth_blur_outline_depth_blur_radiobutton_toggled" swapped="no"/>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkCheckButton" id="shader_settings_depth_blur_outline_outline_radiobutton">
                                    <property name="label" translatable="yes">Outline</property>
                                    <property name="can-focus">1</property>
                                    <property name="group">shader_settings_depth_blur_outline_off_radiobutton</property>
                                    <signal name="toggled" handler="on_shader_settings_depth_blur_outline_outline_radiobutton_toggled" swapped="no"/>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_depth_blur_focus_depth_scale">
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_depth_blur_focus_depth_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">Blur Focus Depth</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkFrame">
                                <child>
                                  <object class="GtkScale" id="shader_settings_depth_blur_strength_scale">
                                    <property name="can-focus">1</property>
                                    <property name="round-digits">2</property>
                                    <property name="digits">2</property>
                                    <signal name="value-changed" handler="on_shader_settings_depth_blur_strength_scale_value_changed" swapped="no"/>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel">
                                    <property name="label" translatable="yes">Blur Strength</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                        <child type="label">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">Depth Blur/Outline</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                            </attributes>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
              <object class="GtkButton" id="shader_settings_close_button">
                <property name="label" translatable="yes">  Close  </property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <property name="margin-start">4</property>
                <property name="margin-end">4</property>
              </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="-7">shader_settings_close_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="show_symmetry_window">
    <property name="title" translatable="yes">Coot: Show Symmetry &amp; Unit Cell</property>
    <child>
      <object class="GtkBox" id="vbox10">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkFrame" id="frame163">
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>
            <child>
              <object class="GtkBox" id="vbox169">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame7">
                    <child type="label">
                      <object class="GtkLabel" id="label45">
                        <property name="label" translatable="yes">Master Switch: Show Symmetry Atoms?</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox" id="vbox11">
                        <property name="orientation">vertical</property>

                        <!-- <child> -->
                        <!--   <object class="GtkCheckButton" id="show_symmetry_yes_radiobutton"> -->
                        <!--     <property name="label" translatable="yes">Yes</property> -->
                        <!--     <signal name="toggled" handler="on_show_symmetry_yes_radiobutton_toggled" swapped="no"/> -->
                        <!--   </object> -->
                        <!-- </child> -->
                        <!-- <child> -->
                        <!--   <object class="GtkCheckButton" id="show_symmetry_no_radiobutton"> -->
                        <!--     <property name="label" translatable="yes">No</property> -->
                        <!--     <property name="active">1</property> -->
                        <!--     <property name="group">show_symmetry_yes_radiobutton</property> -->
                        <!--   </object> -->
                        <!-- </child> -->

                        <child>
                          <object class="GtkBox">
                            <property name="orientation">horizontal</property>

                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Off</property>
                                <property name="margin-top">2</property>
                                <property name="margin-bottom">2</property>
                                <property name="margin-start">4</property>
                                <property name="margin-end">4</property>
                              </object>
                            </child>

                            <child>
                              <object class="GtkSwitch" id="show_symmetry_switch">
                                <property name="active">False</property>
                                <property name="width-request">40</property>
                                <property name="margin-top">2</property>
                                <property name="margin-bottom">2</property>
                                <property name="margin-start">4</property>
                                <property name="margin-end">4</property>
                                <signal name="state-set" handler="show_symmetry_switch_state_set"/>
                              </object>
                            </child>

                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">On</property>
                                <property name="margin-top">2</property>
                                <property name="margin-bottom">2</property>
                                <property name="margin-start">4</property>
                                <property name="margin-end">4</property>
                              </object>
                            </child>

                          </object>
                        </child>

                        <child>
                          <object class="GtkCheckButton" id="symmetry_always_on_checkbutton">
                            <property name="label" translatable="yes"> Symmetry Always On</property>
                            <property name="can-focus">1</property>
                            <signal name="toggled" handler="on_symmetry_always_on_checkbutton_toggled" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="show_symmetry_molecule_control_button">
                    <property name="label" translatable="yes">Symmetry by Molecule...</property>
                    <property name="visible">False</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <signal name="clicked" handler="on_show_symmetry_molecule_control_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame8">
                    <child>
                      <object class="GtkBox" id="vbox12">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label46">
                            <property name="label" translatable="yes">Symmetry Atom Display Radius:</property>
                            <property name="justify">center</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="hbox7">
                            <property name="margin-top">6</property>
                            <property name="margin-bottom">6</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                            <property name="orientation">horizontal</property>
                            <child>
                              <object class="GtkLabel" id="label47">
                                <property name="label" translatable="yes"> Radius: </property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkEntry" id="symmetry_radius_entry">
                                <property name="margin-start">4</property>
                                <property name="margin-end">4</property>
                                <signal name="activate" handler="on_symmetry_radius_entry_activate" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label48">
                                <property name="label" translatable="yes">Å </property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame9">
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-top">4</property>
                    <property name="margin-bottom">4</property>
                    <child>
                      <object class="GtkBox" id="vbox13">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkBox" id="hbox8">
                            <property name="margin-top">4</property>
                            <property name="margin-bottom">4</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                            <child>
                              <object class="GtkLabel" id="label49">
                                <property name="margin-start">6</property>
                                <property name="margin-end">6</property>
                                <property name="label" translatable="yes">Symmetry Colour </property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                            <!-- <child> -->
                            <!--   <object class="GtkButton" id="symmetry_colour_patch_button"> -->
                            <!--     <property name="can-focus">1</property> -->
                            <!--     <signal name="clicked" handler="on_symmetry_colour_patch_button_clicked" swapped="no"/> -->
                            <!--     <child> -->
                            <!--       <object class="GtkBox" id="hbox33"> -->
                            <!--         <child> -->
                            <!--           <object class="GtkFrame" id="frame33"> -->
                            <!--             <child> -->
                            <!--               <object class="GtkColorButton" id="symmetry_colorbutton"> -->
                            <!--                 <signal name="color-set" handler="on_symmetry_colorbutton_color_set" swapped="no"/> -->
                            <!--               </object> -->
                            <!--             </child> -->
                            <!--           </object> -->
                            <!--         </child> -->
                            <!--         <child> -->
                            <!--           <object class="GtkLabel" id="label68"> -->
                            <!--             <property name="label" translatable="yes"> Sym Colour</property> -->
                            <!--             <property name="justify">center</property> -->
                            <!--           </object> -->
                            <!--         </child> -->
                            <!--       </object> -->
                            <!--     </child> -->
                            <!--   </object> -->
                            <!-- </child> -->

                            <child>
                              <object class="GtkBox" id="hbox_for_colour_button">
                                <property name="orientation">horizontal</property>
                              </object>
                            </child>

                          </object> <!-- vertical box -->
                        </child>

                        <!-- No colour merge for now -->
                        <!-- <child> -->
                        <!--   <object class="GtkBox" id="hbox9"> -->
                        <!--     <child> -->
                        <!--       <object class="GtkFrame" id="frame10"> -->
                        <!--         <child> -->
                        <!--           <object class="GtkBox" id="hbox10"> -->
                        <!--             <property name="margin-start">6</property> -->
                        <!--             <property name="margin-end">6</property> -->
                        <!--             <child> -->
                        <!--               <object class="GtkLabel" id="label53"> -->
                        <!--                 <property name="label" translatable="yes"> Colour Merge: </property> -->
                        <!--                 <property name="justify">center</property> -->
                        <!--               </object> -->
                        <!--             </child> -->
                        <!--             <child> -->
                        <!--               <object class="GtkScale"> -->
                        <!--                 <property name="can-focus">1</property> -->
                        <!--                 <property name="round-digits">1</property> -->
                        <!--               </object> -->
                        <!--             </child> -->
                        <!--           </object> -->
                        <!--         </child> -->
                        <!--       </object> -->
                        <!--     </child> -->
                        <!--   </object> -->
                        <!-- </child> -->

                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="show_symmetry_expanded_labels_checkbutton">
                    <property name="label" translatable="yes">Expanded Symmetry Atom Labels?</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>
              </object>
            </child>
            <child type="label">
              <object class="GtkLabel" id="label54">
                <property name="label" translatable="yes">Symmetry</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame11">
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <property name="margin-top">4</property>
            <property name="margin-bottom">4</property>

            <child type="label">
              <object class="GtkLabel" id="label55">
                <property name="label" translatable="yes">Show Unit Cells?</property>
              </object>
            </child>

            <child>
              <object class="GtkBox">
                <property name="orientation">horizontal</property>

                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Hide</property>
                    <property name="margin-top">2</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                  </object>
                </child>

                <child>
                  <object class="GtkSwitch" id="show_unit_cell_switch">
                    <property name="active">False</property>
                    <property name="width-request">40</property>
                    <property name="margin-top">2</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                    <signal name="state-set" handler="show_unit_cell_switch_state_set"/>
                  </object>
                </child>
                
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Show</property>
                    <property name="margin-top">2</property>
                    <property name="margin-bottom">2</property>
                    <property name="margin-start">4</property>
                    <property name="margin-end">4</property>
                  </object>
                </child>

              </object>
            </child>

          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox133">

            <!-- there is only one button now "Close" - because the widget act when changed -->

            <!-- <child> -->
            <!--   <object class="GtkButton" id="show_symmetry_apply_button"> -->
            <!--     <property name="label" translatable="yes">Apply</property> -->
            <!--     <property name="can-focus">1</property> -->
            <!--     <signal name="clicked" handler="on_show_symmetry_apply_button_clicked" swapped="no"/> -->
            <!--   </object> -->
            <!-- </child> -->

            <child>
              <object class="GtkButton" id="show_symmetry_ok_button">  <!-- change the id? -->
                <property name="label" translatable="yes">Close</property>
                <property name="can-focus">1</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <signal name="clicked" handler="on_show_symmetry_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>


  <object class="GtkDialog" id="simple_refmac_dialog">
    <property name="title" translatable="yes">Coot: Refine with Refmac</property>
    <signal name="response" handler="on_simple_refmac_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="button3">
                <property name="label">gtk-cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Model Molecule</property>
              </object>
            </child>
            <child>
              <object class="GtkComboBoxText" id="simple_refmac_coordinates_combobox">
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">MTZ file</property>
              </object>
            </child>
            <child>
              <object class="GtkBox">
                <child>
                  <object class="GtkComboBoxText" id="simple_refmac_mtz_file_combobox">
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="simple_refmac_mtz_file_button">
                    <property name="label">gtk-file</property>
                    <property name="can-focus">1</property>
                    <property name="receives-default">1</property>
                    <signal name="clicked" handler="on_simple_refmac_mtz_file_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkFileChooserDialog" id="simple_refmac_filechooser_dialog">
    <property name="use-header-bar">0</property>
    <property name="title" translatable="yes">Coot: Refmac File Chooser</property>
    <signal name="response" handler="on_simple_refmac_filechooser_dialog_response" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
         <child type="action">
              <object class="GtkButton" id="button6">
                <property name="label">gtk-cancel</property>
                <property name="can-focus">1</property>
                <property name="receives-default">1</property>
              </object>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkDialog" id="skeleton_dialog">
    <property name="title" translatable="yes">Skeleton Dialog</property>
    <child>
      <object class="GtkBox" id="dialog-vbox25">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox59">
                <child>
                  <object class="GtkButton" id="skeleton_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skeleton_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="skeleton_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skeleton_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox84">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label117">
                <property name="label" translatable="yes">Skeletonize Map:</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame71">
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="skeleton_dialog_on_off_frame">
                <child>
                  <object class="GtkBox" id="vbox85">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="skeleton_on_radiobutton">
                        <property name="label" translatable="yes">On</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="skeleton_off_radiobutton">
                        <property name="label" translatable="yes">Off</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="active">1</property>
                        <property name="group">skeleton_on_radiobutton</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="skeleton_prune_and_colour_checkbutton">
                <property name="label" translatable="yes">Prune &amp; Colour</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="skeletonization_box_radius_window">
    <property name="title" translatable="yes">Skeleton Box Size</property>
    <child>
      <object class="GtkBox" id="vbox36">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label59">
            <property name="label" translatable="yes">Skeleton Box Size</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox28">
            <child>
              <object class="GtkLabel" id="label60">
                <property name="label" translatable="yes">Size</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="skeleton_box_size_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label61">
                <property name="label" translatable="yes">Angstoms</property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame31">
            <child>
              <object class="GtkBox" id="hbox27">
                <child>
                  <object class="GtkButton" id="skel_box_radius_cancel_button">
                    <property name="label" translatable="yes">Cancel</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skel_box_radius_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="skel_box_radius_ok_button">
                    <property name="label" translatable="yes">OK</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skel_box_radius_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="skeletonization_level_window">
    <property name="title" translatable="yes">Skeletonization Level</property>
    <child>
      <object class="GtkBox" id="vbox37">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label62">
            <property name="label" translatable="yes">Skeletonization Level</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox29">
            <child>
              <object class="GtkLabel" id="label63">
                <property name="label" translatable="yes">Level</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkEntry" id="skeleton_level_entry">
                <property name="can-focus">1</property>
                <property name="primary-icon-activatable">0</property>
                <property name="secondary-icon-activatable">0</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label64">
                <property name="label" translatable="yes">  electrons/A^3  </property>
                <property name="justify">center</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="hbox30">
            <child>
              <object class="GtkButton" id="skeletonization_level_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_skeletonization_level_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="skeletonization_level_ok_button">
                <property name="label" translatable="yes">OK</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_skeletonization_level_ok_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="skeletonization_level_apply_button">
                <property name="label" translatable="yes">Apply</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_skeletonization_level_apply_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="skeletonize_map_dialog">
    <property name="title" translatable="yes">Skeletonize Map</property>
    <child>
      <object class="GtkBox" id="dialog-vbox73">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox113">
                <child>
                  <object class="GtkButton" id="skeletonize_map_dialog_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skeletonize_map_dialog_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="skeletonize_map_dialog_ok_button">
                    <property name="label" translatable="yes">   Skeletonize   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_skeletonize_map_dialog_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame130">
            <child>
              <object class="GtkBox" id="vbox134">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label218">
                    <property name="label" translatable="yes">
You need a skeleton to use baton building.

Which map do you want to skeletonize?
</property>
                    <property name="justify">center</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkWindow" id="smooth_scroll_window">
    <property name="title" translatable="yes">window2</property>
    <child>
      <object class="GtkBox" id="vbox23">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label65">
            <property name="label" translatable="yes">Recentring Smooth Scrolling</property>
            <property name="justify">center</property>
          </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox24">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame" id="frame18">
                <child>
                  <object class="GtkBox" id="vbox25">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkCheckButton" id="smooth_scroll_yes_radiobutton">
                        <property name="label" translatable="yes">Yes</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="smooth_scroll_no_radiobutton">
                        <property name="label" translatable="yes">No</property>
                        <property name="can-focus">1</property>
                        <property name="use-underline">1</property>
                        <property name="group">smooth_scroll_yes_radiobutton</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame19">
                <child>
                  <object class="GtkBox" id="hbox13">
                    <child>
                      <object class="GtkLabel" id="label66">
                        <property name="label" translatable="yes">Number of Steps:</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="smooth_scroll_steps_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame20">
                <child>
                  <object class="GtkBox" id="hbox14">
                    <child>
                      <object class="GtkLabel" id="label70">
                        <property name="label" translatable="yes">Do Not Scroll for
distances more than:</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="smooth_scroll_limit_entry">
                        <property name="can-focus">1</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label71">
                        <property name="label" translatable="yes">A</property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="smooth_scrolling_window_ok_button">
            <property name="label" translatable="yes">  OK  </property>
            <property name="can-focus">1</property>
            <signal name="clicked" handler="on_smooth_scrolling_window_ok_button_clicked" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkWindow" id="splash_screen_window">
    <property name="title" translatable="yes">Coot</property>
    <child>
      <object class="GtkImage" id="pixmap1">
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="start_workflow_dialog">
    <property name="title" translatable="yes">What do you want to do?</property>
    <child>
      <object class="GtkBox" id="dialog-vbox31">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox68">
                <child>
                  <object class="GtkButton" id="workflow_ok_button">
                    <property name="label" translatable="yes">  OK  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_workflow_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="workflow_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_workflow_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame76">
            <child>
              <object class="GtkBox" id="vbox94">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkCheckButton" id="workflow_radiobutton_coords_only">
                    <property name="label" translatable="yes"> Display just Coordinates</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="toggled" handler="on_workflow_radiobutton_coords_only_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="workflow_radiobutton_coords_and_dataset">
                    <property name="label" translatable="yes"> Display Coordinates and calculate a Map from a Dataset</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">workflow_radiobutton_coords_only</property>
                    <signal name="toggled" handler="on_workflow_radiobutton_coords_and_dataset_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="workflow_radiobutton_coords_and_map">
                    <property name="label" translatable="yes"> Display Coordinates and a pre-calculated CCP4 Map</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">workflow_radiobutton_coords_only</property>
                    <signal name="toggled" handler="on_workflow_radiobutton_coords_and_map_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="workflow_radiobutton_map_from_dataset">
                    <property name="label" translatable="yes"> Calculate a Map from a Dataset</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">workflow_radiobutton_coords_only</property>
                    <signal name="toggled" handler="on_workflow_radiobutton_map_from_dataset_toggled" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkCheckButton" id="workstate_radiobutton_clean_slate">
                    <property name="label" translatable="yes"> Start from a &quot;Clean Slate&quot;</property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <property name="group">workflow_radiobutton_coords_only</property>
                    <signal name="toggled" handler="on_workstate_radiobutton_clean_slate_toggled" swapped="no"/>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="stereo_dialog">
    <property name="title" translatable="yes">Stereo/Mono</property>
    <child>
      <object class="GtkBox" id="dialog-vbox76">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="stereo_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_stereo_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame133">
            <child>
              <object class="GtkBox" id="vbox137">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label222">
                    <property name="label" translatable="yes">
View Mode</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame134">
                    <child>
                      <object class="GtkBox" id="vbox138">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkCheckButton" id="stereo_dialog_mono_radiobutton">
                            <property name="label" translatable="yes">Mono</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <signal name="toggled" handler="on_stereo_dialog_mono_radiobutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="stereo_dialog_hardware_stereo_radiobutton">
                            <property name="label" translatable="yes">Hardware Stereo</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="group">stereo_dialog_mono_radiobutton</property>
                            <signal name="toggled" handler="on_stereo_dialog_hardware_stereo_radiobutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="stereo_dialog_side_by_side_stereo_crosseyed_radiobutton">
                            <property name="label" translatable="yes">Side by Side Stereo</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="group">stereo_dialog_mono_radiobutton</property>
                            <signal name="toggled" handler="on_stereo_dialog_side_by_side_stereo_crosseyed_radiobutton_toggled" swapped="no"/>
                          </object>
                        </child>
                        <child>
                          <object class="GtkCheckButton" id="stereo_dialog_side_by_side_stereo_walleyed_radiobutton">
                            <property name="label" translatable="yes">Side by Side (Wall Eyed)</property>
                            <property name="can-focus">1</property>
                            <property name="use-underline">1</property>
                            <property name="group">stereo_dialog_mono_radiobutton</property>
                            <signal name="toggled" handler="on_stereo_dialog_side_by_side_stereo_walleyed_radiobutton_toggled" swapped="no"/>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">stereo_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="superpose_dialog">
    <property name="title" translatable="yes">SSM Superpose</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox49">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox83">
                <child>
                  <object class="GtkButton" id="superpose_dialog_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_superpose_dialog_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="superpose_dialog_superpose_button">
                    <property name="label" translatable="yes">  Superpose  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_superpose_dialog_superpose_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox109">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label159">
                <property name="label" translatable="yes">Superpose Molecules</property>
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame98">
                <child>
                  <object class="GtkBox" id="vbox142">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkComboBoxText" id="superpose_dialog_reference_mol_combobox">
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="superpose_reference_structure_frame">
                        <child>
                          <object class="GtkBox" id="vbox144">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="superpose_reference_chain_checkbutton">
                                <property name="label" translatable="yes">Use Specific Chain</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="toggled" handler="on_superpose_reference_chain_checkbutton_toggled" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="superpose_dialog_reference_chain_combobox">
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label304">
                    <property name="label" translatable="yes">Reference Structure</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label160">
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame99">
                <child>
                  <object class="GtkBox" id="vbox143">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkComboBoxText" id="superpose_dialog_moving_mol_combobox">
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="superpose_moving_structure_frame">
                        <child>
                          <object class="GtkBox" id="vbox145">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkCheckButton" id="superpose_moving_chain_checkbutton">
                                <property name="label" translatable="yes">Use Specific Chain</property>
                                <property name="can-focus">1</property>
                                <property name="use-underline">1</property>
                                <signal name="toggled" handler="on_superpose_moving_chain_checkbutton_toggled" swapped="no"/>
                              </object>
                            </child>
                            <child>
                              <object class="GtkComboBoxText" id="superpose_dialog_moving_chain_combobox">
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label305">
                    <property name="label" translatable="yes">Moving Structure</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkCheckButton" id="superpose_dialog_move_copy_checkbutton">
                <property name="label" translatable="yes">Move copy of Moving Structure</property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="superpose_nonsense_dialog">
    <property name="title" translatable="yes">Nonsense!</property>
    <child>
      <object class="GtkBox" id="dialog-vbox50">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox149">
                <property name="homogeneous">1</property>
                <child>
                  <object class="GtkButton" id="superpose_nonsense_cancel_button">
                    <property name="label" translatable="yes">   Cancel   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_superpose_nonsense_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="superpose_nonsense_ok_button">
                    <property name="label" translatable="yes">   OK   </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_superpose_nonsense_ok_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame100">
            <child>
              <object class="GtkLabel" id="label161">
                <property name="label" translatable="yes">Can&apos;t superpose a molecule onto itself.

Move a copy?</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="symmetry_controller_dialog">
    <property name="title" translatable="yes">Symmetry Controller</property>
    <child>
      <object class="GtkBox" id="dialog-vbox90">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="symmetry_controller_ok_button">
                <property name="label" translatable="yes">      OK      </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_symmetry_controller_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox167">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkScrolledWindow" id="scrolledwindow24">
                <child>
                  <object class="GtkViewport" id="symmetry_control_viewport">
                    <child>
                      <object class="GtkBox" id="symmetry_controller_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkFrame" id="molecule_0_frame">
                            <child>
                              <object class="GtkBox" id="vbox168">
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkCheckButton" id="molecule_0_checkbutton">
                                    <property name="label" translatable="yes"> Show Symmetry?</property>
                                    <property name="can-focus">1</property>
                                    <property name="use-underline">1</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child type="label">
                              <object class="GtkLabel" id="label319">
                                <property name="label" translatable="yes">Molecule 0 (this frame not visible)</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">symmetry_controller_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="undo_molecule_chooser_dialog">
    <property name="title" translatable="yes">Coot: Choose Molecule for Undoing:</property>
    <property name="width-request">200</property>
    <child>
      <object class="GtkBox" id="dialog-vbox24">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox83">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkBox" id="undo_molecule_chooser_vbox">
                    <property name="orientation">vertical</property>

                    <child>
                      <object class="GtkComboBoxText" id="undo_molecule_chooser_comboboxtext">
                        <property name="margin-start">8</property>
                        <property name="margin-end">8</property>
                        <property name="margin-top">4</property>
                        <property name="margin-bottom">4</property>
                      </object>
                    </child>

                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
         <child type="action">
              <object class="GtkButton" id="undo_molecule_chooser_ok_button">
                <property name="label" translatable="yes">Close</property>
                <property name="margin-start">8</property>
                <property name="margin-end">8</property>
                <property name="margin-top">4</property>
                <property name="margin-bottom">4</property>
                <signal name="clicked" handler="on_undo_molecule_chooser_ok_button_clicked" swapped="no"/>
              </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">undo_molecule_chooser_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="unmodelled_blobs_dialog">
    <property name="title" translatable="yes">Coot: Find Unmodelled Blobs of density</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox68">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkBox" id="vbox127">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkBox" id="vbox128">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkFrame" id="frame122">
                    <child>
                      <object class="GtkBox" id="find_blobs_map_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label211">
                            <property name="label" translatable="yes">Select Map:</property>
                            <property name="margin-top">6</property>
                            <property name="margin-bottom">6</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="unmodelled_blobs_map_combobox">
                            <property name="margin-top">6</property>
                            <property name="margin-bottom">6</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame123">
                    <child>
                      <object class="GtkBox" id="find_blobs_protein_vbox">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label212">
                            <property name="label" translatable="yes">Select Protein Model:</property>
                            <property name="margin-top">4</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkComboBoxText" id="unmodelled_blobs_model_combobox">
                            <property name="margin-top">6</property>
                            <property name="margin-bottom">6</property>
                            <property name="margin-start">6</property>
                            <property name="margin-end">6</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkFrame" id="frame124">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <child>
                      <object class="GtkBox" id="vbox131">
                        <property name="orientation">vertical</property>
                        <child>
                          <object class="GtkLabel" id="label213">
                            <property name="label" translatable="yes">Find Blobs above:</property>
                            <property name="justify">center</property>
                            <property name="margin-top">4</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkBox" id="hbox111">
                            <child>
                              <object class="GtkEntry" id="find_blobs_peak_level_entry">
                                <property name="can-focus">1</property>
                                <property name="width-chars">6</property>
                                <property name="primary-icon-activatable">0</property>
                                <property name="secondary-icon-activatable">0</property>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label214">
                                <property name="label" translatable="yes"> standard deviations</property>
                                <property name="justify">center</property>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child type="action">
          <object class="GtkBox" id="hbox110">
            <property name="margin-top">6</property>
            <property name="margin-bottom">6</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <child>
              <object class="GtkButton" id="find_blobs_cancel_button">
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <property name="label" translatable="yes">  Cancel  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_find_blobs_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="find_blobs_ok_button">
                <property name="label" translatable="yes">  Find Blobs  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <style>
                  <class name="suggested-action"/>
                </style>
                <signal name="clicked" handler="on_find_blobs_ok_button_clicked" swapped="no"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="unsaved_changes_dialog">
    <property name="title" translatable="yes">Coot: Unsaved Changes</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox17">
        <property name="orientation">vertical</property>

        <child>
          <object class="GtkFrame" id="frame54">
             <property name="margin-top">6</property>
             <property name="margin-bottom">6</property>
             <property name="margin-start">6</property>
             <property name="margin-end">6</property>
            <child>
              <object class="GtkBox" id="vbox66">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label98">
                    <property name="label" translatable="yes">The following molecule(s) have unsaved changes:</property>
                    <property name="justify">center</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="unsaved_changes_molecule_vbox">
                    <property name="orientation">vertical</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">8</property>
                    <property name="margin-end">8</property>
                  </object>
                </child>

                <child>
                  <object class="GtkLabel" id="label99">
                    <property name="label" translatable="yes">Do you wish to Continue to Exit?</property>
                    <property name="justify">center</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkBox">
            <property name="spacing">8</property>
            <property name="margin-top">6</property>
            <property name="margin-bottom">10</property>
            <property name="margin-start">6</property>
            <property name="margin-end">6</property>
            <child>
              <object class="GtkButton" id="unsaved_changes_cancel_button">
                <property name="label" translatable="yes">Cancel</property>
                <signal name="clicked" handler="on_unsaved_changes_cancel_button_clicked" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="unsaved_changes_continue_button">
                <property name="label" translatable="yes">Continue Exit</property>
                <signal name="clicked" handler="on_unsaved_changes_continue_button_clicked" swapped="no"/>
                <style>
                  <class name="destructive-action"/>
                </style>
              </object>
            </child>
          </object>
        </child>

      </object>
    </child>
  </object>

  <object class="GtkDialog" id="validation_dialog">
    <property name="title" translatable="yes">validation dialog</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox28">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkBox" id="hbox61">
                <child>
                  <object class="GtkButton" id="validation_dialog_next_button">
                    <property name="label" translatable="yes">  Next  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_validation_dialog_next_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="validation_dialog_prev_button">
                    <property name="label" translatable="yes">  Previous  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_validation_dialog_prev_button_clicked" swapped="no"/>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="validation_dialog_cancel_button">
                    <property name="label" translatable="yes">  Cancel  </property>
                    <property name="can-focus">1</property>
                    <property name="use-underline">1</property>
                    <signal name="clicked" handler="on_validation_dialog_cancel_button_clicked" swapped="no"/>
                  </object>
                </child>
              </object>
        </child>
        <child>
          <object class="GtkFrame" id="frame74">
            <child>
              <object class="GtkBox" id="vbox91">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="label121">
                    <property name="label" translatable="yes">Description</property>
                    <property name="justify">center</property>
                  </object>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="scrolledwindow7">
                    <property name="hscrollbar-policy">never</property>
                    <child>
                      <object class="GtkTextView" id="validation_dialog_text">
                        <property name="can-focus">1</property>
                        <property name="editable">0</property>
                        <property name="wrap-mode">word</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox63">
                    <child>
                      <object class="GtkLabel" id="validation_dialog_residue_or_atom_label">
                        <property name="label" translatable="yes">  Residue:  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="validation_dialog_residue_entry">
                        <property name="can-focus">1</property>
                        <property name="editable">0</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label123">
                        <property name="label" translatable="yes">  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="hbox64">
                    <child>
                      <object class="GtkLabel" id="label124">
                        <property name="label" translatable="yes"> Number </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkEntry" id="validation_dialog_baddie_number_entry">
                        <property name="can-focus">1</property>
                        <property name="editable">0</property>
                        <property name="primary-icon-activatable">0</property>
                        <property name="secondary-icon-activatable">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="label125">
                        <property name="label" translatable="yes">  of 104  </property>
                        <property name="justify">center</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
    </child>
  </object>
  <object class="GtkDialog" id="zoom_dialog">
    <property name="title" translatable="yes">Zoom Control</property>
    <property name="deletable">0</property>
    <child>
      <object class="GtkBox" id="dialog-vbox42">
        <property name="orientation">vertical</property>
         <child type="action">
              <object class="GtkButton" id="zoom_dialog_ok_button">
                <property name="label" translatable="yes">  OK  </property>
                <property name="can-focus">1</property>
                <property name="use-underline">1</property>
                <signal name="clicked" handler="on_zoom_dialog_ok_button_clicked" swapped="no"/>
              </object>
        </child>
        <child>
          <object class="GtkBox" id="vbox104">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label150">
                <property name="justify">center</property>
              </object>
            </child>
            <child>
              <object class="GtkFrame" id="frame86">
                <child>
                  <object class="GtkScale" id="zoom_hscale">
                    <property name="can-focus">1</property>
                    <property name="orientation">vertical</property>
                    <property name="round-digits">1</property>
                  </object>
                </child>
                <child type="label">
                  <object class="GtkLabel" id="label303">
                    <property name="label" translatable="yes">Zoom Control</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <action-widgets>
      <action-widget response="0">zoom_dialog_ok_button</action-widget>
    </action-widgets>
    <child type="titlebar">
    </child>
  </object>

  <object class="GtkDialog" id="curlew_dialog">
    <property name="title" translatable="yes">Coot Curlew</property>
    <!-- <property name="default_width">850</property> -->
    <!-- <property name="default_height">450</property> -->
    <property name="resizable">True</property>

    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkPicture" id="curlew_banner">
            <property name="margin-bottom">8</property>
            <property name="margin-end">8</property>
            <property name="margin-start">8</property>
            <property name="margin-top">8</property>
          </object>
        </child>
        <child>
          <object class="GtkGrid" id="curlew_grid">
            <property name="margin-bottom">8</property>
            <property name="margin-end">8</property>
            <property name="margin-start">8</property>
            <property name="margin-top">8</property>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
            <property name="margin-bottom">4</property>
            <property name="margin-top">4</property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <child>
              <object class="GtkButton" id="curlew_dialog_close_button">
                <property name="accessible-role">menu-item-radio</property>
                <property name="label"> Close </property>
                <property name="margin-bottom">4</property>
                <property name="margin-end">6</property>
                <property name="margin-start">6</property>
                <property name="margin-top">4</property>
                <signal name="clicked" handler="on_curlew_close_button_clicked"/>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkDialog" id="ligand_check_dialog">
    <property name="title">Coot: Ligand Validation Report</property>
    <child>
      <object class="GtkFrame" id="ligand-validation-frame">
        <child>
          <object class="GtkBox">
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkLabel" id="ligand_check_ligand_spec_label">
                    <property name="label">Ligand Validation Report</property>
                    <property name="margin-bottom">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-start">6</property>
                    <property name="margin-top">6</property>
                  </object>
                </child>
                <child>
                  <object class="GtkGrid">
                    <property name="margin-start">6</property>
                    <property name="margin-end">6</property>
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">6</property>
                    <child>
                      <object class="GtkLabel">
                        <property name="label"> Density Correlation </property>
                        <layout>
                          <property name="column">0</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label"> Geometry Distortion </property>
                        <layout>
                          <property name="column">0</property>
                          <property name="column-span">1</property>
                          <property name="row">1</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label"> Ligand-Protein Bumps </property>
                        <layout>
                          <property name="column">0</property>
                          <property name="column-span">1</property>
                          <property name="row">2</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="accessible-role">progress-bar</property>
                        <child>
                          <object class="GtkImage" id="image_tick_density">
                            <property name="file">koppi-green-tick-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_cross_density">
                            <property name="file">rygle-red-cross-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_incomplete_density">
                            <property name="file">forest51690-dwcheckno-incomplete-64.png</property>
                          </object>
                        </child>
                        <layout>
                          <property name="column">1</property>
                          <property name="column-span">1</property>
                          <property name="row">0</property>
                          <property name="row-span">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="accessible-role">progress-bar</property>
                        <child>
                          <object class="GtkImage" id="image_tick_geometry_distortion">
                            <property name="file">koppi-green-tick-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_cross_geometry_distortion">
                            <property name="file">rygle-red-cross-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_incomplete_geometry_distortion">
                            <property name="file">forest51690-dwcheckno-incomplete-64.png</property>
                          </object>
                        </child>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">1</property>
                        </layout>
                      </object>
                    </child>
                    <child>
                      <object class="GtkBox">
                        <property name="accessible-role">progress-bar</property>
                        <child>
                          <object class="GtkImage" id="image_tick_bumps">
                            <property name="file">koppi-green-tick-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_cross_bumps">
                            <property name="file">rygle-red-cross-64.png</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage" id="image_incomplete_bumps">
                            <property name="file">forest51690-dwcheckno-incomplete-64.png</property>
                          </object>
                        </child>
                        <layout>
                          <property name="column">1</property>
                          <property name="row">2</property>
                        </layout>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkSeparator"/>
            </child>
            <child>
              <object class="GtkFrame">
                <child>
                  <object class="GtkBox">
                    <child>
                      <object class="GtkButton" id="ligand_check_dialog_close_button">
                        <property name="label">Close</property>
                        <signal name="clicked" handler="on_ligand_check_dialog_close_button_clicked"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>

  <!-- make this an overlay from the start -->
  <object class="GtkDialog" id="acedrg_link_dialog__wip">
    <property name="title" translatable="yes">Coot: Acedrg Link dialog</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">4</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Order:</property>
                <property name="justify">center</property>
              </object>
            </child>

          </object>
        </child>
      </object>
    </child>
  </object>

  <object class="GtkShortcutsWindow" id="coot_shortcuts_window">
    <property name="hide-on-close">true</property>
    <child>
      <object class="GtkShortcutsSection">
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">View/Display Functions</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">l</property>
                <property name="title" translatable="yes">Toggle Atom Label</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">quoteleft</property>
                <property name="title" translatable="yes">Highlight Active Residue</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">1</property>
                <property name="title" translatable="yes">Clipping Front Expand</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">2</property>
                <property name="title" translatable="yes">Clipping Front Reduce</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">3</property>
                <property name="title" translatable="yes">Clipping Back Reduce</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">4</property>
                <property name="title" translatable="yes">Clipping Back Expand</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">n</property>
                <property name="title" translatable="yes">Zoom In</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">m</property>
                <property name="title" translatable="yes">Zoom Out</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">f</property>
                <property name="title" translatable="yes">Decrease clipping</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">i</property>
                <property name="title" translatable="yes">Spin View</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;A</property>
                <property name="title" translatable="yes">Toggle Display of Last Model</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Functions for Moving Around</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">space</property>
                <property name="title" translatable="yes">Go to Next Residue</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;space</property>
                <property name="title" translatable="yes">Go to Previous Residue</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">g</property>
                <property name="title" translatable="yes">Go To Blob</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">o</property>
                <property name="title" translatable="yes">NCS Other Chain</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">p</property>
                <property name="title" translatable="yes">Update "Go To Atom" Position</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">w</property>
                <property name="title" translatable="yes">Move Forward</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">s</property>
                <property name="title" translatable="yes">Move Backward</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">a</property>
                <property name="title" translatable="yes">Step Left</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">d</property>
                <property name="title" translatable="yes">Step right</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">u</property>
                <property name="title" translatable="yes">Undo Move</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Map Functions</property>
            
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">plus</property>
                <property name="title" translatable="yes">Increase Contour Level</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">minus</property>
                <property name="title" translatable="yes">Decrease Contour Level</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;W</property>
                <property name="title" translatable="yes">Change Scroll-wheel map</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;Q</property>
                <property name="title" translatable="yes">Display Next Map</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">bracketleft</property>
                <property name="title" translatable="yes">Decrease Map Radius</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">bracketright</property>
                <property name="title" translatable="yes">Increase Map Radius</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Refinement Functions</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">Return</property>
                <property name="title" translatable="yes">Accept Moving Atoms</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">Escape</property>
                <property name="title" translatable="yes">Reject Moving Atoms</property>
              </object>
            </child>

          </object>
        </child>
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Building Functions</property>
            
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">y</property>
                <property name="title" translatable="yes">Add Terminal Residue</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">e</property>
                <property name="title" translatable="yes">Auto-fit Rotamer</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">k</property>
                <property name="title" translatable="yes">Fill Partial Residue</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;K</property>
                <property name="title" translatable="yes">Delete Side-chain</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;R</property>
                <property name="title" translatable="yes">Sphere Refine</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Shift&gt;E</property>
                <property name="title" translatable="yes">Chain Refine</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Function Keys</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">F8</property>
                <property name="title" translatable="yes">Display Manager</property>
              </object>
            </child>
          </object>
        </child>

        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Moving Residues</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;E</property>
                 <property name="title" translatable="yes">Eigen-flip ligand</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;Left</property>
                 <property name="title" translatable="yes">Rot/Trans Left</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;Right</property>
                 <property name="title" translatable="yes">Rot/Trans Right</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;Up</property>
                 <property name="title" translatable="yes">Rot/Trans up</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;Down</property>
                 <property name="title" translatable="yes">Rot/Trans Down</property>
               </object>
             </child>

          </object>
        </child>

        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Save Functions</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;S</property>
                 <property name="title" translatable="yes">Quick Save As</property>
               </object>
             </child>

          </object>
        </child>
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title">Copy Functions</property>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Ctrl&gt;C</property>
                 <property name="title" translatable="yes">Copy Molecule</property>
               </object>
             </child>

          </object>
        </child>
      </object>
    </child>
  </object>

</interface>
