<?xml version='1.0' encoding='utf-8'?>

<!--
 Copyright © 2012 Wolfgang Ulbrich

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the licence, or (at
  your option) any later version.

  This program is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
  USA

  Author: Wolfgang Ulbrich <chat-to-me@raveit.de>
-->

<schemalist gettext-domain='mucharmap'>
  <schema id='org.mate.mucharmap' path='/org/mate/mucharmap/'>
    <key name='group-by' enum='org.mate.mucharmap.MucharmapChaptersMode'>
      <summary>Character map grouping method</summary>
      <description>
        This is how the characters in the character map are grouped.
        The characters can either be grouped by 'script' or 'block'.
      </description>
      <default>'script'</default>
    </key>

    <key name='font' type='ms'>
      <summary>Character map font description</summary>
      <description>
        The font to use for the character map.  If set to 'nothing' then
        the default is the system font with the size doubled.  Otherwise
        it should be a font description string like 'Sans 24'.
      </description>
      <default>nothing</default>
    </key>

    <key name='snap-cols-pow2' type='b'>
      <summary>Snap number of columns to a power of two</summary>
      <description>
        The number of columns in the character map grid is determined by
        the width of the window.  If this setting is 'true' then the
        value will be forced to the nearest power of two.
      </description>
      <default>false</default>
    </key>

    <key name='last-char' type='s'>
      <summary>Last selected character</summary>
      <description>
        This is the last character that was selected in the character
        map (and will be selected again when the character map is next
        started).  If set, it should be a string with a single character.

        By default, it is the first letter of the alphabet in the current
        locale.
      </description>
      <default l10n='messages' context='First letter of alphabet'>'A'</default>
    </key>
  </schema>

  <schema id='org.mate.mucharmap.WindowState' path='/org/mate/mucharmap/window-state/'>
    <key name='maximized' type='b'>
      <default>false</default>
    </key>

    <key name='fullscreen' type='b'>
      <default>false</default>
    </key>

    <key name='size' type='(ii)'>
      <default>(-1, -1)</default>
    </key>
  </schema>
</schemalist>
