[gthumb] Converted the schemas to the GSettings format



commit c808b319834c4cff575fd0c736d3358994baa5a2
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Nov 13 15:19:59 2011 +0100

    Converted the schemas to the GSettings format

 configure.ac                                       |    1 -
 data/Makefile.am                                   |   66 ++-
 data/gthumb.schemas.in                             |  574 --------------------
 data/org.gnome.gthumb.change-date.gschema.xml.in   |   42 ++
 data/org.gnome.gthumb.comments.gschema.xml.in      |   27 +
 data/org.gnome.gthumb.contact-sheet.gschema.xml.in |  107 ++++
 .../org.gnome.gthumb.convert-format.gschema.xml.in |   27 +
 data/org.gnome.gthumb.crop.gschema.xml.in          |   45 ++
 data/org.gnome.gthumb.facebook.gschema.xml.in      |   27 +
 data/org.gnome.gthumb.file-manager.gschema.xml.in  |   30 +
 data/org.gnome.gthumb.gschema.xml.in               |  163 ++++++
 ...org.gnome.gthumb.gstreamer-tools.gschema.xml.in |   27 +
 data/org.gnome.gthumb.image-print.gschema.xml.in   |   51 ++
 data/org.gnome.gthumb.image-viewer.gschema.xml.in  |   48 ++
 data/org.gnome.gthumb.importer.gschema.xml.in      |   42 ++
 .../org.gnome.gthumb.photo-importer.gschema.xml.in |   30 +
 data/org.gnome.gthumb.picasaweb.gschema.xml.in     |   27 +
 data/org.gnome.gthumb.pixbuf-savers.gschema.xml.in |   75 +++
 data/org.gnome.gthumb.rename-series.gschema.xml.in |   40 ++
 data/org.gnome.gthumb.resize-images.gschema.xml.in |   42 ++
 data/org.gnome.gthumb.resize.gschema.xml.in        |   48 ++
 data/org.gnome.gthumb.rotate.gschema.xml.in        |   36 ++
 data/org.gnome.gthumb.slideshow.gschema.xml.in     |   39 ++
 data/org.gnome.gthumb.webalbums.gschema.xml.in     |  112 ++++
 extensions/change_date/data/Makefile.am            |   15 -
 .../change_date/data/gthumb_change_date.schemas.in |   77 ---
 extensions/comments/data/Makefile.am               |   15 -
 .../comments/data/gthumb-comments.schemas.in       |   17 -
 extensions/contact_sheet/data/Makefile.am          |   15 -
 .../data/gthumb_contact_sheet.schemas.in           |  334 ------------
 extensions/convert_format/data/Makefile.am         |   15 -
 .../data/gthumb_convert_format.schemas.in          |   17 -
 extensions/facebook/data/Makefile.am               |   15 -
 .../facebook/data/gthumb-facebook.schemas.in       |   17 -
 extensions/file_manager/Makefile.am                |    2 -
 extensions/file_manager/data/Makefile.am           |   16 -
 .../data/gthumb-file-manager.schemas.in            |   29 -
 extensions/file_tools/data/Makefile.am             |   17 -
 .../file_tools/data/gthumb_crop_options.schemas.in |   89 ---
 .../data/gthumb_resize_options.schemas.in          |  101 ----
 .../data/gthumb_rotate_options.schemas.in          |   53 --
 extensions/gstreamer_tools/data/Makefile.am        |   15 -
 .../data/gthumb-gstreamer.schemas.in               |   17 -
 extensions/image_print/data/Makefile.am            |   15 -
 .../image_print/data/gthumb_image_print.schemas.in |  122 -----
 extensions/image_viewer/data/Makefile.am           |   15 -
 .../data/gthumb-image-viewer.schemas.in            |   97 ----
 extensions/importer/data/Makefile.am               |   15 -
 .../importer/data/gthumb-importer.schemas.in       |   83 ---
 extensions/photo_importer/data/Makefile.am         |   15 -
 .../data/gthumb_photo_importer.schemas.in          |   31 -
 extensions/picasaweb/data/Makefile.am              |   15 -
 .../picasaweb/data/gthumb-picasaweb.schemas.in     |   17 -
 extensions/pixbuf_savers/data/Makefile.am          |   15 -
 .../data/gthumb-pixbuf-savers.schemas.in           |  156 ------
 extensions/rename_series/data/Makefile.am          |   15 -
 .../data/gthumb_rename_series.schemas.in           |   65 ---
 extensions/resize_images/data/Makefile.am          |   15 -
 .../data/gthumb_resize_images.schemas.in           |   77 ---
 extensions/slideshow/data/Makefile.am              |   15 -
 .../slideshow/data/gthumb-slideshow.schemas.in     |   70 ---
 extensions/webalbums/data/Makefile.am              |   15 -
 .../webalbums/data/gthumb_webalbums.schemas.in     |  369 -------------
 63 files changed, 1131 insertions(+), 2708 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8a76ef5..b8e1501 100644
--- a/configure.ac
+++ b/configure.ac
@@ -605,7 +605,6 @@ extensions/facebook/Makefile
 extensions/facebook/data/Makefile
 extensions/facebook/data/ui/Makefile
 extensions/file_manager/Makefile
-extensions/file_manager/data/Makefile
 extensions/file_tools/Makefile
 extensions/file_tools/data/Makefile
 extensions/file_tools/data/ui/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index d334cac..4d3effa 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,37 +1,63 @@
 SUBDIRS = icons ui
 
+desktopdir = $(datadir)/applications
 desktop_in_in_files = gthumb.desktop.in.in gthumb-import.desktop.in.in
 desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) 
-desktopdir = $(datadir)/applications
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 
 
 @INTLTOOL_DESKTOP_RULE@
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$(schema_DATA)
-endif
+gsettings_ENUM_NAMESPACE = org.gnome.gthumb
+gsettings_ENUM_FILES = $(top_srcdir)/gthumb/*.h $(top_srcdir)/extensions/*/*.h
+gsettings_schema_in_files = 					\
+	org.gnome.gthumb.gschema.xml.in				\
+	org.gnome.gthumb.change-date.gschema.xml.in		\
+	org.gnome.gthumb.comments.gschema.xml.in		\
+	org.gnome.gthumb.contact-sheet.gschema.xml.in		\
+	org.gnome.gthumb.convert-format.gschema.xml.in		\
+	org.gnome.gthumb.crop.gschema.xml.in			\
+	org.gnome.gthumb.facebook.gschema.xml.in		\
+	org.gnome.gthumb.file-manager.gschema.xml.in		\
+	org.gnome.gthumb.gstreamer-tools.gschema.xml.in		\
+	org.gnome.gthumb.image-print.gschema.xml.in		\
+	org.gnome.gthumb.image-viewer.gschema.xml.in		\
+	org.gnome.gthumb.importer.gschema.xml.in		\
+	org.gnome.gthumb.photo-importer.gschema.xml.in		\
+	org.gnome.gthumb.picasaweb.gschema.xml.in		\
+	org.gnome.gthumb.pixbuf-savers.gschema.xml.in		\
+	org.gnome.gthumb.rename-series.gschema.xml.in		\
+	org.gnome.gthumb.resize.gschema.xml.in			\
+	org.gnome.gthumb.resize-images.gschema.xml.in		\
+	org.gnome.gthumb.rotate.gschema.xml.in			\
+	org.gnome.gthumb.slideshow.gschema.xml.in		\
+	org.gnome.gthumb.webalbums.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_schema_in_files:.xml.in=.xml)
+
+ INTLTOOL_XML_NOMERGE_RULE@
+
+ GSETTINGS_RULES@
+
+convertdir = $(datadir)/GConf/gsettings
+convert_DATA = gthumb.convert
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gthumb-$(GTHUMB_API_VERSION).pc
 
-EXTRA_DIST =                    \
-	$(desktop_in_in_files)  \
-	$(pkgconfig_DATA)	\
-	$(schema_in_files)
+EXTRA_DIST =                    	\
+	$(desktop_in_in_files)  	\
+	$(gsettings_schema_in_files)    \
+	$(pkgconfig_DATA)		\
+	gthumb.convert
 
-DISTCLEANFILES =                \
-	$(desktop_in_files)	\
+DISTCLEANFILES =                	\
+	$(desktop_in_files)		\
 	$(pkgconfig_DATA)
 
-CLEANFILES =			\
-	$(desktop_DATA)         \
-	$(schema_DATA)
+CLEANFILES =				\
+	$(desktop_DATA)         	\
+	$(gsettings_SCHEMAS)
+
+dist-hook:
+	cd $(distdir); rm -f $(CLEANFILES)
 
 -include $(top_srcdir)/git.mk
diff --git a/data/org.gnome.gthumb.change-date.gschema.xml.in b/data/org.gnome.gthumb.change-date.gschema.xml.in
new file mode 100644
index 0000000..79cb794
--- /dev/null
+++ b/data/org.gnome.gthumb.change-date.gschema.xml.in
@@ -0,0 +1,42 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.change-date" path="/org/gnome/gthumb/change-date/">
+    <key name="width" type="i">
+      <default>640</default>
+    </key>
+    <key name="height" type="i">
+      <default>480</default>
+    </key>
+    <key name="unit" enum="org.gnome.gthumb.GthUnit">
+      <default>'percentage'</default>
+    </key>
+    <key name="keep-aspect-ratio" type="b">
+      <default>true</default>
+    </key>
+    <key name="allow-swap-width-height" type="b">
+      <default>true</default>
+    </key>
+    <key name="mime-type" type="s">
+      <default>''</default>
+    </key>
+  </schema>
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.comments.gschema.xml.in b/data/org.gnome.gthumb.comments.gschema.xml.in
new file mode 100644
index 0000000..4482a4a
--- /dev/null
+++ b/data/org.gnome.gthumb.comments.gschema.xml.in
@@ -0,0 +1,27 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.comments" path="/org/gnome/gthumb/comments/">
+    <key name="synchronize" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.contact-sheet.gschema.xml.in b/data/org.gnome.gthumb.contact-sheet.gschema.xml.in
new file mode 100644
index 0000000..113dc60
--- /dev/null
+++ b/data/org.gnome.gthumb.contact-sheet.gschema.xml.in
@@ -0,0 +1,107 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.contact-sheet" path="/org/gnome/gthumb/contact-sheet/">
+    <child name="contact-sheet" schema="org.gnome.gthumb.contact-sheet.contact-sheet" />
+    <child name="image-wall" schema="org.gnome.gthumb.contact-sheet.image-wall" />
+  </schema>
+  
+  <schema id="org.gnome.gthumb.contact-sheet.contact-sheet" path="/org/gnome/gthumb/contact-sheet/contact-sheet/">
+    <key name="header" type="s">
+      <default>''</default>
+    </key>
+    <key name="footer" type="s">
+      <default>''</default>
+    </key>
+    <key name="destination" type="s">
+      <default>''</default>
+    </key>
+    <key name="template" type="s">
+      <default>'###'</default>
+    </key>
+    <key name="mime-type" type="s">
+      <default>'image/jpeg'</default>
+    </key>
+    <key name="html-image-map" type="b">
+      <default>false</default>
+    </key>
+    <key name="theme" type="s">
+      <default>'default.cst'</default>
+    </key>
+    <key name="images-per-page" type="i">
+      <default>25</default>
+    </key>
+    <key name="single-page" type="b">
+      <default>false</default>
+    </key>
+    <key name="columns" type="i">
+      <default>5</default>
+    </key>
+    <key name="sort-type" type="s">
+      <default>'general::unsorted'</default>
+    </key>
+    <key name="sort-inverse" type="b">
+      <default>false</default>
+    </key>
+    <key name="same-size" type="b">
+      <default>true</default>
+    </key>
+    <key name="thumbnail-size" type="i">
+      <default>128</default>
+    </key>
+    <key name="squared-thumbnail" type="b">
+      <default>false</default>
+    </key>
+    <key name="thumbnail-caption" type="s">
+      <default>'general::datetime,general::dimensions,gth::file::display-size'</default>
+    </key>
+  </schema>
+  
+  <schema id="org.gnome.gthumb.contact-sheet.image-wall" path="/org/gnome/gthumb/contact-sheet/image-wall/">
+    <key name="destination" type="s">
+      <default>''</default>
+    </key>
+    <key name="template" type="s">
+      <default>'###'</default>
+    </key>
+    <key name="mime-type" type="s">
+      <default>'image/jpeg'</default>
+    </key>
+    <key name="images-per-page" type="i">
+      <default>25</default>
+    </key>
+    <key name="single-page" type="b">
+      <default>false</default>
+    </key>
+    <key name="columns" type="i">
+      <default>5</default>
+    </key>
+    <key name="sort-type" type="s">
+      <default>'general::unsorted'</default>
+    </key>
+    <key name="sort-inverse" type="b">
+      <default>false</default>
+    </key>
+    <key name="thumbnail-size" type="i">
+      <default>128</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.convert-format.gschema.xml.in b/data/org.gnome.gthumb.convert-format.gschema.xml.in
new file mode 100644
index 0000000..f6cc787
--- /dev/null
+++ b/data/org.gnome.gthumb.convert-format.gschema.xml.in
@@ -0,0 +1,27 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.convert-format" path="/org/gnome/gthumb/convert-format/">
+    <key name="mime-type" type="s">
+      <default>'image/jpeg'</default>
+    </key>
+  </schema>
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.crop.gschema.xml.in b/data/org.gnome.gthumb.crop.gschema.xml.in
new file mode 100644
index 0000000..bcd53f9
--- /dev/null
+++ b/data/org.gnome.gthumb.crop.gschema.xml.in
@@ -0,0 +1,45 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.crop" path="/org/gnome/gthumb/crop/">
+    <key name="grid-type" enum="org.gnome.gthumb.GthGridType">
+      <default>'thirds'</default>
+    </key>
+    <key name="aspect-ratio" enum="org.gnome.gthumb.GthAspectRatio">
+      <default>'none'</default>
+    </key>
+    <key name="aspect-ratio-invert" type="b">
+      <default>false</default>
+    </key>
+    <key name="aspect-ratio-width" type="i">
+      <default>1</default>
+    </key>
+    <key name="aspect-ratio-height" type="i">
+      <default>1</default>
+    </key>
+    <key name="bind-dimensions" type="b">
+      <default>false</default>
+    </key>
+    <key name="bind-factor" type="i">
+      <default>8</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.facebook.gschema.xml.in b/data/org.gnome.gthumb.facebook.gschema.xml.in
new file mode 100644
index 0000000..1afa92b
--- /dev/null
+++ b/data/org.gnome.gthumb.facebook.gschema.xml.in
@@ -0,0 +1,27 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.facebook" path="/org/gnome/gthumb/facebook/">
+    <key name="max-resolution" type="i">
+      <default>2048</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.file-manager.gschema.xml.in b/data/org.gnome.gthumb.file-manager.gschema.xml.in
new file mode 100644
index 0000000..3887517
--- /dev/null
+++ b/data/org.gnome.gthumb.file-manager.gschema.xml.in
@@ -0,0 +1,30 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.file-manager" path="/org/gnome/gthumb/file-manager/">
+    <key name="last-folder" type="s">
+      <default>''</default>
+    </key>
+    <key name="view-destination" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.gschema.xml.in b/data/org.gnome.gthumb.gschema.xml.in
new file mode 100644
index 0000000..ad8c362
--- /dev/null
+++ b/data/org.gnome.gthumb.gschema.xml.in
@@ -0,0 +1,163 @@
+<!--
+  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/">
+    <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/">
+    <key name="catalogs-2-10" type="b">
+      <default>false</default>
+    </key>
+  </schema>
+  
+  <schema id="org.gnome.gthumb.browser" path="/org/gnome/gthumb/browser/">
+    <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="show-thumbnails" type="b">
+      <default>true</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="sort-type" type="s">
+      <default>'file::mtime'</default>
+    </key>
+    <key name="sort-inverse" type="b">
+      <default>false</default>
+    </key>   
+    <key name="toolbar-style" enum="org.gnome.gthumb.GthToolbarStyle">
+      <default>'system'</default>
+    </key>
+    <key name="window-width" type="i">
+      <default>0</default>
+    </key>
+    <key name="window-height" type="i">
+      <default>0</default>
+    </key>
+    <key name="image-pane-visible" type="b">
+      <default>true</default>
+    </key>
+    <key name="toolbar-visible" type="b">
+      <default>true</default>
+    </key>
+    <key name="statusbar-visible" type="b">
+      <default>true</default>
+    </key>
+    <key name="filterbar-visible" type="b">
+      <default>true</default>
+    </key>
+    <key name="sidebar-visible" type="b">
+      <default>true</default>
+    </key>
+    <key name="properties-visible" type="b">
+      <default>true</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-width" type="i">
+      <default>285</default>
+    </key>
+    <key name="comment-height" type="i">
+      <default>128</default>
+    </key>
+    <key name="viewer-thumbnails-orientation" enum="org.gnome.gthumb.GtkOrientation">
+      <default>'horizontal'</default>
+    </key>
+    <key name="shrink-wrap-viewer" type="b">
+      <default>false</default>
+      <_description>Whether to resize the window to fit the size of the image</_description>
+    </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" />
+  </schema>
+  
+  <schema id="org.gnome.gthumb.dialogs.messages" path="/org/gnome/gthumb/dialogs/messages/">
+    <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/">
+    <key name="view" type="b">
+      <default>false</default>
+    </key>
+  </schema>  
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.gstreamer-tools.gschema.xml.in b/data/org.gnome.gthumb.gstreamer-tools.gschema.xml.in
new file mode 100644
index 0000000..bb8438b
--- /dev/null
+++ b/data/org.gnome.gthumb.gstreamer-tools.gschema.xml.in
@@ -0,0 +1,27 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.gstreamer-tools" path="/org/gnome/gthumb/gstreamer-tools/">
+    <key name="screenshot-location" type="s">
+      <default>'file://~'</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.image-print.gschema.xml.in b/data/org.gnome.gthumb.image-print.gschema.xml.in
new file mode 100644
index 0000000..9da30d8
--- /dev/null
+++ b/data/org.gnome.gthumb.image-print.gschema.xml.in
@@ -0,0 +1,51 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.image-print" path="/org/gnome/gthumb/image-print/">
+    <key name="caption" type="s">
+      <default>''</default>
+    </key>
+    <key name="font-name" type="s">
+      <default>'sans normal 12'</default>
+    </key>
+    <key name="header-font-name" type="s">
+      <default>'sans bold 12'</default>
+    </key>
+    <key name="footer-font-name" type="s">
+      <default>'sans normal 8'</default>
+    </key>
+    <key name="header" type="s">
+      <default>''</default>
+    </key>
+    <key name="footer" type="s">
+      <default>''</default>
+    </key>
+    <key name="n-rows" type="i">
+      <default>1</default>
+    </key>
+    <key name="n-columns" type="i">
+      <default>1</default>
+    </key>
+    <key name="unit" enum="org.gnome.gthumb.GthMetric">
+      <default>'pixels'</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.image-viewer.gschema.xml.in b/data/org.gnome.gthumb.image-viewer.gschema.xml.in
new file mode 100644
index 0000000..94b64bd
--- /dev/null
+++ b/data/org.gnome.gthumb.image-viewer.gschema.xml.in
@@ -0,0 +1,48 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.image-viewer" path="/org/gnome/gthumb/image-viewer/">
+    <key name="zoom-quality" enum="org.gnome.gthumb.GthZoomQuality">
+      <default>'low'</default>
+    </key>
+    <key name="zoom-change" enum="org.gnome.gthumb.GthZoomChange">
+      <default>'fit-size-if-larger'</default>
+    </key>
+    <key name="transparency-type" enum="org.gnome.gthumb.GthTranspType">
+      <default>'none'</default>
+      <_description>Possible values are: white, black, checked, none.</_description>
+    </key>
+    <key name="reset-scrollbars" type="b">
+      <default>true</default>
+      <_description>Whether to reset the scrollbars position after changing image</_description>
+    </key>
+    <key name="check-type" enum="org.gnome.gthumb.GthCheckType">
+      <default>'midtone'</default>
+    </key>
+    <key name="check-size" enum="org.gnome.gthumb.GthCheckSize">
+      <default>'medium'</default>
+    </key>
+    <key name="black-background" type="b">
+      <default>false</default>
+      <_description>Whether to always use a black background.</_description>
+    </key>
+  </schema>
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.importer.gschema.xml.in b/data/org.gnome.gthumb.importer.gschema.xml.in
new file mode 100644
index 0000000..54b8ce5
--- /dev/null
+++ b/data/org.gnome.gthumb.importer.gschema.xml.in
@@ -0,0 +1,42 @@
+<!--
+  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>
+     
+  <schema id="org.gnome.gthumb.importer" path="/org/gnome/gthumb/importer/">
+    <key name="destination" type="s">
+      <default>''</default>
+    </key>
+    <key name="subfolder-type" enum="org.gnome.gthumb.GthSubfolderType">
+      <default>'none'</default>
+    </key>
+    <key name="subfolder-format" enum="org.gnome.gthumb.GthSubfolderFormat">
+      <default>'yyyymmdd'</default>
+    </key>
+    <key name="subfolder-single" type="b">
+      <default>false</default>
+    </key>
+    <key name="subfolder-custom-format" type="s">
+      <default>''</default>
+    </key>
+    <key name="warn-delete-unsupported" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+  
+</schemalist>
diff --git a/data/org.gnome.gthumb.photo-importer.gschema.xml.in b/data/org.gnome.gthumb.photo-importer.gschema.xml.in
new file mode 100644
index 0000000..0526c66
--- /dev/null
+++ b/data/org.gnome.gthumb.photo-importer.gschema.xml.in
@@ -0,0 +1,30 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.photo-importer" path="/org/gnome/gthumb/photo-importer/">
+    <key name="delete-from-device" type="b">
+      <default>false</default>
+    </key>
+    <key name="adjust-orientation" type="b">
+      <default>false</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.picasaweb.gschema.xml.in b/data/org.gnome.gthumb.picasaweb.gschema.xml.in
new file mode 100644
index 0000000..f7beaa9
--- /dev/null
+++ b/data/org.gnome.gthumb.picasaweb.gschema.xml.in
@@ -0,0 +1,27 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.picasaweb" path="/org/gnome/gthumb/picasaweb/">
+    <key name="synchronize" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.pixbuf-savers.gschema.xml.in b/data/org.gnome.gthumb.pixbuf-savers.gschema.xml.in
new file mode 100644
index 0000000..8c13f56
--- /dev/null
+++ b/data/org.gnome.gthumb.pixbuf-savers.gschema.xml.in
@@ -0,0 +1,75 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.pixbuf-savers" path="/org/gnome/gthumb/pixbuf-savers/">
+    <child name="jpeg" schema="org.gnome.gthumb.pixbuf-savers.jpeg" />
+    <child name="png" schema="org.gnome.gthumb.pixbuf-savers.png" />
+    <child name="tga" schema="org.gnome.gthumb.pixbuf-savers.tga" />
+    <child name="tiff" schema="org.gnome.gthumb.pixbuf-savers.tiff" />
+  </schema>
+  
+  <schema id="org.gnome.gthumb.pixbuf-savers.jpeg" path="/org/gnome/gthumb/pixbuf-savers/jpeg/">
+    <key name="default-ext" type="s">
+      <default>'jpeg'</default>
+      <_description>Possible values are: jpeg, jpg.</_description>
+    </key>
+    <key name="quality" type="i">
+      <default>85</default>
+    </key>
+    <key name="smoothing" type="i">
+      <default>0</default>
+    </key>
+    <key name="optimize" type="b">
+      <default>true</default>
+    </key>
+    <key name="progressive" type="b">
+      <default>false</default>
+    </key>
+  </schema>
+  
+  <schema id="org.gnome.gthumb.pixbuf-savers.png" path="/org/gnome/gthumb/pixbuf-savers/png/">
+    <key name="compression-level" type="i">
+      <default>6</default>
+    </key>
+  </schema>
+  
+  <schema id="org.gnome.gthumb.pixbuf-savers.tga" path="/org/gnome/gthumb/pixbuf-savers/tga/">
+    <key name="rle-compression" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+  
+  <schema id="org.gnome.gthumb.pixbuf-savers.tiff" path="/org/gnome/gthumb/pixbuf-savers/tiff/">
+    <key name="default-ext" type="s">
+      <default>'tiff'</default>
+      <_description>Possible values are: tiff, tif.</_description>
+    </key>
+    <key name="compression" enum="org.gnome.gthumb.GthTiffCompression">
+      <default>'deflate'</default>
+    </key>
+    <key name="horizontal-resolution" type="i">
+      <default>72</default>
+    </key>
+    <key name="vertical-resolution" type="i">
+      <default>72</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.rename-series.gschema.xml.in b/data/org.gnome.gthumb.rename-series.gschema.xml.in
new file mode 100644
index 0000000..fc894dc
--- /dev/null
+++ b/data/org.gnome.gthumb.rename-series.gschema.xml.in
@@ -0,0 +1,40 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.rename-series" path="/org/gnome/gthumb/rename-series/">
+    <key name="template" type="s">
+      <default>'####%E'</default>
+    </key>
+    <key name="start-at" type="i">
+      <default>1</default>
+    </key>
+    <key name="sort-by" type="s">
+      <default>'general::unsorted'</default>
+      <_summary>Possible values include: general::unsorted, file::name, file::size, file::mtime, exif::photo::datetimeoriginal</_summary>
+    </key>
+    <key name="reverse-order" type="b">
+      <default>false</default>
+    </key>
+    <key name="change-case" enum="org.gnome.gthumb.GthChangeCase">
+      <default>'none'</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.resize-images.gschema.xml.in b/data/org.gnome.gthumb.resize-images.gschema.xml.in
new file mode 100644
index 0000000..3e437cb
--- /dev/null
+++ b/data/org.gnome.gthumb.resize-images.gschema.xml.in
@@ -0,0 +1,42 @@
+<!--
+  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>
+
+  <schema id="org.gnome.gthumb.resize-images" path="/org/gnome/gthumb/resize-images/">
+    <key name="width" type="i">
+      <default>640</default>
+    </key>
+    <key name="height" type="i">
+      <default>480</default>
+    </key>
+    <key name="unit" enum="org.gnome.gthumb.GthUnit">
+      <default>'percentage'</default>
+    </key>
+    <key name="keep-aspect-ratio" type="b">
+      <default>true</default>
+    </key>
+    <key name="allow-swap-width-height" type="b">
+      <default>true</default>
+    </key>
+    <key name="mime-type" type="s">
+      <default>''</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.resize.gschema.xml.in b/data/org.gnome.gthumb.resize.gschema.xml.in
new file mode 100644
index 0000000..d220564
--- /dev/null
+++ b/data/org.gnome.gthumb.resize.gschema.xml.in
@@ -0,0 +1,48 @@
+<!--
+  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>
+ 
+  <schema id="org.gnome.gthumb.resize" path="/org/gnome/gthumb/resize/">
+    <key name="unit" enum="org.gnome.gthumb.GthUnit">
+      <default>'percentage'</default>
+    </key>
+    <key name="width" type="d">
+      <default>100.0</default>
+    </key>
+    <key name="height" type="d">
+      <default>100.0</default>
+    </key>
+    <key name="aspect-ratio-width" type="i">
+      <default>1</default>
+    </key>
+    <key name="aspect-ratio-height" type="i">
+      <default>1</default>
+    </key>
+    <key name="aspect-ratio" enum="org.gnome.gthumb.GthAspectRatio">
+      <default>'image'</default>
+    </key>
+    <key name="aspect-ratio-invert" type="b">
+      <default>true</default>
+    </key>
+    <key name="high-quality" type="b">
+      <default>true</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.rotate.gschema.xml.in b/data/org.gnome.gthumb.rotate.gschema.xml.in
new file mode 100644
index 0000000..732656f
--- /dev/null
+++ b/data/org.gnome.gthumb.rotate.gschema.xml.in
@@ -0,0 +1,36 @@
+<!--
+  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>
+    
+  <schema id="org.gnome.gthumb.rotate" path="/org/gnome/gthumb/rotate/">
+    <key name="resize" enum="org.gnome.gthumb.GthTransformResize">
+      <default>'crop'</default>
+    </key>
+    <key name="keep-aspect-ratio" type="b">
+      <default>true</default>
+    </key>
+    <key name="grid-type" enum="org.gnome.gthumb.GthGridType">
+      <default>'thirds'</default>
+    </key>
+    <key name="background-color" type="s">
+      <default>'#000'</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.slideshow.gschema.xml.in b/data/org.gnome.gthumb.slideshow.gschema.xml.in
new file mode 100644
index 0000000..8d22445
--- /dev/null
+++ b/data/org.gnome.gthumb.slideshow.gschema.xml.in
@@ -0,0 +1,39 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.slideshow" path="/org/gnome/gthumb/slideshow/">
+    <key name="change-delay" type="d">
+      <default>5.0</default>
+    </key>
+    <key name="wrap-around" type="b">
+      <default>false</default>
+    </key>
+    <key name="automatic" type="b">
+      <default>true</default>
+    </key>
+    <key name="transition" type="s">
+      <default>'fade-in'</default>
+    </key>
+    <key name="random-order" type="b">
+      <default>false</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/data/org.gnome.gthumb.webalbums.gschema.xml.in b/data/org.gnome.gthumb.webalbums.gschema.xml.in
new file mode 100644
index 0000000..f03ee8a
--- /dev/null
+++ b/data/org.gnome.gthumb.webalbums.gschema.xml.in
@@ -0,0 +1,112 @@
+<!--
+  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>
+  
+  <schema id="org.gnome.gthumb.webalbums" path="/org/gnome/gthumb/webalbums/">
+    <key name="index-file" type="s">
+      <default>'index.html'</default>
+    </key>
+    <key name="destination" type="s">
+      <default>''</default>
+    </key>
+    <key name="copy-images" type="b">
+      <default>false</default>
+    </key>
+    <key name="resize-images" type="b">
+      <default>false</default>
+    </key>
+    <key name="resize-width" type="i">
+      <default>640</default>
+    </key>
+    <key name="resize-height" type="i">
+      <default>480</default>
+    </key>
+    <key name="images-per-index" type="i">
+      <default>12</default>
+    </key>
+    <key name="single-index" type="b">
+      <default>false</default>
+    </key>
+    <key name="columns" type="i">
+      <default>4</default>
+    </key>
+    <key name="adapt-to-width" type="b">
+      <default>true</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="header" type="s">
+      <default>''</default>
+    </key>
+    <key name="footer" type="s">
+      <default>''</default>
+    </key>
+    <key name="image-page-header" type="s">
+      <default>''</default>
+    </key>
+    <key name="image-page-footer" type="s">
+      <default>''</default>
+    </key>
+    <key name="theme" type="s">
+      <default>'Wiki'</default>
+    </key>
+    <key name="enable-thumbnail-caption" type="b">
+      <default>true</default>
+    </key>
+    <key name="thumbnail-caption" type="s">
+      <default>'general::datetime,general::dimensions,gth::file::display-size'</default>
+    </key>
+    <key name="enable-image-description" type="b">
+      <default>true</default>
+    </key>
+    <key name="enable-image-attributes" type="b">
+      <default>true</default>
+    </key>
+    <key name="image-attributes" type="s">
+      <default>'gth::file::display-size,standard::fast-content-type,general::dimensions,general::format,general::location,general::datetime,general::rating,Exif::Image::Make,Exif::Image::Model,Exif::Image::Software,Exif::Image::Artist,Exif::Image::Copyright,Exif::Photo::ISOSpeedRatings,Exif::Photo::BrightnessValue,Exif::Photo::FNumber,Exif::Photo::ApertureValue,Exif::Photo::MaxApertureValue,Exif::Photo::ExposureTime,Exif::Photo::ExposureProgram,Exif::Photo::ExposureIndex,Exif::Photo::ExposureBiasValue,Exif::Photo::ExposureMode,Exif::Photo::ShutterSpeedValue,Exif::Photo::MeteringMode,Exif::Photo::LightSource,Exif::Photo::WhiteBalance,Exif::Photo::Flash,Exif::Photo::FocalLength,Exif::Photo::SubjectArea,Exif::Photo::Contrast,Exif::Photo::Saturation,Exif::Photo::Sharpness'</default>
+    </key>
+    <child name="directories" schema="org.gnome.gthumb.webalbums.directories" />
+  </schema>
+  
+  <schema id="org.gnome.gthumb.webalbums.directories" path="/org/gnome/gthumb/webalbums/directories/">
+    <key name="previews" type="s">
+      <default>'previews'</default>
+    </key>
+    <key name="thumbnails" type="s">
+      <default>'thumbnails'</default>
+    </key>
+    <key name="images" type="s">
+      <default>'images'</default>
+    </key>
+    <key name="html-images" type="s">
+      <default>'html'</default>
+    </key>
+    <key name="html-indexes" type="s">
+      <default>'html'</default>
+    </key>
+    <key name="theme-files" type="s">
+      <default>'theme'</default>
+    </key>
+  </schema>
+
+</schemalist>
diff --git a/extensions/change_date/data/Makefile.am b/extensions/change_date/data/Makefile.am
index 1d8bbef..c1713cf 100644
--- a/extensions/change_date/data/Makefile.am
+++ b/extensions/change_date/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_change_date.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/change_date/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/comments/data/Makefile.am b/extensions/comments/data/Makefile.am
index 7d6e39c..c1713cf 100644
--- a/extensions/comments/data/Makefile.am
+++ b/extensions/comments/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-comments.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/comments/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/contact_sheet/data/Makefile.am b/extensions/contact_sheet/data/Makefile.am
index 68c070f..3d5b2e8 100644
--- a/extensions/contact_sheet/data/Makefile.am
+++ b/extensions/contact_sheet/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = contact_sheet_themes ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_contact_sheet.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/contact_sheet/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/convert_format/data/Makefile.am b/extensions/convert_format/data/Makefile.am
index a837977..c1713cf 100644
--- a/extensions/convert_format/data/Makefile.am
+++ b/extensions/convert_format/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_convert_format.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/convert_format/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/facebook/data/Makefile.am b/extensions/facebook/data/Makefile.am
index 75ed653..c1713cf 100644
--- a/extensions/facebook/data/Makefile.am
+++ b/extensions/facebook/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-facebook.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/facebook/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/file_manager/Makefile.am b/extensions/file_manager/Makefile.am
index 3026214..5c4ea8c 100644
--- a/extensions/file_manager/Makefile.am
+++ b/extensions/file_manager/Makefile.am
@@ -1,5 +1,3 @@
-SUBDIRS = data
-
 extensiondir = $(pkglibdir)/extensions
 extension_LTLIBRARIES = libfile_manager.la
 
diff --git a/extensions/file_tools/data/Makefile.am b/extensions/file_tools/data/Makefile.am
index 8b2a4ff..c1713cf 100644
--- a/extensions/file_tools/data/Makefile.am
+++ b/extensions/file_tools/data/Makefile.am
@@ -1,20 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = 				\
-	gthumb_crop_options.schemas.in		\
-	gthumb_resize_options.schemas.in	\
-	gthumb_rotate_options.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/file_tools/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/gstreamer_tools/data/Makefile.am b/extensions/gstreamer_tools/data/Makefile.am
index d3a0395..c1713cf 100644
--- a/extensions/gstreamer_tools/data/Makefile.am
+++ b/extensions/gstreamer_tools/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-gstreamer.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/gstreamer_tools/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/image_print/data/Makefile.am b/extensions/image_print/data/Makefile.am
index d207b33..c1713cf 100644
--- a/extensions/image_print/data/Makefile.am
+++ b/extensions/image_print/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_image_print.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/image_print/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/image_viewer/data/Makefile.am b/extensions/image_viewer/data/Makefile.am
index 648e646..c1713cf 100644
--- a/extensions/image_viewer/data/Makefile.am
+++ b/extensions/image_viewer/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-image-viewer.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/image_viewer/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/importer/data/Makefile.am b/extensions/importer/data/Makefile.am
index 64af671..c1713cf 100644
--- a/extensions/importer/data/Makefile.am
+++ b/extensions/importer/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-importer.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/importer/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/photo_importer/data/Makefile.am b/extensions/photo_importer/data/Makefile.am
index b646173..c1713cf 100644
--- a/extensions/photo_importer/data/Makefile.am
+++ b/extensions/photo_importer/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_photo_importer.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/photo_importer/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/picasaweb/data/Makefile.am b/extensions/picasaweb/data/Makefile.am
index c99d2e5..c1713cf 100644
--- a/extensions/picasaweb/data/Makefile.am
+++ b/extensions/picasaweb/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-picasaweb.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/picasaweb/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/pixbuf_savers/data/Makefile.am b/extensions/pixbuf_savers/data/Makefile.am
index 5b8c51c..c1713cf 100644
--- a/extensions/pixbuf_savers/data/Makefile.am
+++ b/extensions/pixbuf_savers/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-pixbuf-savers.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/pixbuf_savers/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/rename_series/data/Makefile.am b/extensions/rename_series/data/Makefile.am
index bd2a3f0..c1713cf 100644
--- a/extensions/rename_series/data/Makefile.am
+++ b/extensions/rename_series/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_rename_series.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/rename_series/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/resize_images/data/Makefile.am b/extensions/resize_images/data/Makefile.am
index 6f80a99..c1713cf 100644
--- a/extensions/resize_images/data/Makefile.am
+++ b/extensions/resize_images/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_resize_images.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/resize_images/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/slideshow/data/Makefile.am b/extensions/slideshow/data/Makefile.am
index f6c6100..c1713cf 100644
--- a/extensions/slideshow/data/Makefile.am
+++ b/extensions/slideshow/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb-slideshow.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/slideshow/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk
diff --git a/extensions/webalbums/data/Makefile.am b/extensions/webalbums/data/Makefile.am
index 2e1d3cf..9eda696 100644
--- a/extensions/webalbums/data/Makefile.am
+++ b/extensions/webalbums/data/Makefile.am
@@ -1,18 +1,3 @@
 SUBDIRS = albumthemes ui
 
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = gthumb_webalbums.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-
- INTLTOOL_SCHEMAS_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/extensions/webalbums/data/$(schema_DATA)
-endif
-
-EXTRA_DIST = $(schema_in_files)
-
-CLEANFILES = $(schema_DATA)
-
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]