<!--
  gThumb

  Copyright © 2011 Free Software Foundation, Inc.

  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 2 of the License, 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, see <http://www.gnu.org/licenses/>.
-->
<schemalist>

  <enum id="org.gnome.gthumb.GtkOrientation">
    <value nick="horizontal" value="0" />
    <value nick="vertical" value="1" />
  </enum>

  <schema id="org.gnome.gthumb" path="/org/gnome/gthumb/">
    <child name="general" schema="org.gnome.gthumb.general" />
    <child name="data-migration" schema="org.gnome.gthumb.data-migration" />
    <child name="browser" schema="org.gnome.gthumb.browser" />
    <child name="dialogs" schema="org.gnome.gthumb.dialogs" />
  </schema>

  <schema id="org.gnome.gthumb.general" path="/org/gnome/gthumb/general/" gettext-domain="gthumb">
    <key name="active-extensions" type="as">
      <default>[ 'default' ]</default>
    </key>
    <key name="store-metadata-in-files" type="b">
      <default>true</default>
    </key>
  </schema>

  <schema id="org.gnome.gthumb.data-migration" path="/org/gnome/gthumb/data-migration/" gettext-domain="gthumb">
    <key name="catalogs-2-10" type="b">
      <default>false</default>
    </key>
  </schema>

  <schema id="org.gnome.gthumb.browser" path="/org/gnome/gthumb/browser/" gettext-domain="gthumb">
    <key name="go-to-last-location" type="b">
      <default>true</default>
    </key>
    <key name="use-startup-location" type="b">
      <default>false</default>
    </key>
    <key name="startup-location" type="s">
      <default>''</default>
    </key>
    <key name="startup-current-file" type="s">
      <default>''</default>
    </key>
    <key name="general-filter" type="s">
      <default>'file::type::is_media'</default>
    </key>
    <key name="show-hidden-files" type="b">
      <default>false</default>
    </key>
    <key name="fast-file-type" type="b">
      <default>true</default>
    </key>
    <key name="save-thumbnails" type="b">
      <default>true</default>
    </key>
    <key name="thumbnail-size" type="i">
      <default>128</default>
    </key>
    <key name="thumbnail-limit" type="i">
      <default>0</default>
      <description>Images over this size (in bytes) will not be thumbnailed.  Use 0 if you want to generate thumbnails for all images.</description>
    </key>
    <key name="thumbnail-caption" type="s">
      <default>'comment::note,comment::time'</default>
    </key>
    <key name="single-click-activation" type="b">
      <default>true</default>
    </key>
    <key name="open-files-in-fullscreen" type="b">
      <default>false</default>
    </key>
    <key name="sort-type" type="s">
      <default>'file::mtime'</default>
    </key>
    <key name="sort-inverse" type="b">
      <default>false</default>
    </key>
    <key name="window-width" type="i">
      <default>0</default>
    </key>
    <key name="window-height" type="i">
      <default>0</default>
    </key>
    <key name="maximized" type="b">
      <default>false</default>
    </key>
    <key name="statusbar-visible" type="b">
      <default>true</default>
    </key>
    <key name="sidebar-visible" type="b">
      <default>true</default>
    </key>
    <key name="sidebar-sections" type="as">
      <default>[]</default>
    </key>
    <key name="properties-visible" type="b">
      <default>false</default>
    </key>
    <key name="properties-on-the-right" type="b">
      <default>false</default>
    </key>
    <key name="thumbnail-list-visible" type="b">
      <default>true</default>
    </key>
    <key name="browser-sidebar-width" type="i">
      <default>285</default>
    </key>
    <key name="viewer-sidebar" enum="org.gnome.gthumb.GthSidebarState">
      <default>'hidden'</default>
    </key>
    <key name="viewer-thumbnails-orientation" enum="org.gnome.gthumb.GtkOrientation">
      <default>'horizontal'</default>
    </key>
    <key name="reuse-active-window" type="b">
      <default>false</default>
      <description>Open files in the active window</description>
    </key>
    <key name="fullscreen-sidebar" enum="org.gnome.gthumb.GthSidebarState">
      <default>'hidden'</default>
    </key>
    <key name="fullscreen-thumbnails-visible" type="b">
      <default>false</default>
    </key>
    <key name="scroll-action" enum="org.gnome.gthumb.GthScrollAction">
      <default>'change-file'</default>
    </key>
    <key name="favorite-properties" type="s">
      <default>'default'</default>
    </key>
    <key name="folder-tree-sort-type" type="s">
      <default>'name'</default>
    </key>
    <key name="folder-tree-sort-inverse" type="b">
      <default>false</default>
    </key>
  </schema>

  <schema id="org.gnome.gthumb.dialogs" path="/org/gnome/gthumb/dialogs/">
    <child name="messages" schema="org.gnome.gthumb.dialogs.messages" />
    <child name="add-to-catalog" schema="org.gnome.gthumb.dialogs.add-to-catalog" />
    <child name="save-file" schema="org.gnome.gthumb.dialogs.save-file" />
  </schema>

  <schema id="org.gnome.gthumb.dialogs.messages" path="/org/gnome/gthumb/dialogs/messages/" gettext-domain="gthumb">
    <key name="cannot-move-to-trash" type="b">
      <default>true</default>
    </key>
    <key name="save-modified-image" type="b">
      <default>true</default>
    </key>
    <key name="confirm-deletion" type="b">
      <default>true</default>
    </key>
  </schema>

  <schema id="org.gnome.gthumb.dialogs.add-to-catalog" path="/org/gnome/gthumb/dialogs/add-to-catalog/" gettext-domain="gthumb">
    <key name="view" type="b">
      <default>false</default>
    </key>
  </schema>

  <schema id="org.gnome.gthumb.dialogs.save-file" path="/org/gnome/gthumb/dialogs/save-file/" gettext-domain="gthumb">
    <key name="show-options" type="b">
      <default>true</default>
    </key>
  </schema>

</schemalist>
