[eog] [GSettings] Add GSettings schema file
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] [GSettings] Add GSettings schema file
- Date: Sun, 6 Jun 2010 14:42:15 +0000 (UTC)
commit e5dd87f49e311b11681c84b06254ff2bc675d676
Author: Felix Riemann <friemann gnome org>
Date: Sun May 30 22:49:10 2010 +0200
[GSettings] Add GSettings schema file
configure.ac | 1 +
data/Makefile.am | 13 +++--
data/org.gnome.eog.gschema.xml | 114 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 124 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 72b6e98..c3d3e03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -330,6 +330,7 @@ fi
# *****
AM_GCONF_SOURCE_2
+GLIB_GSETTINGS
AC_PATH_PROG([GCONFTOOL], [gconftool-2], [no])
diff --git a/data/Makefile.am b/data/Makefile.am
index 5a0622c..6689ed6 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,9 +10,14 @@ desktop_DATA = $(DESKTOP_FILES)
@INTLTOOL_SCHEMAS_RULE@
-schemas_in_files = eog.schemas.in
-schemasdir = $(GCONF_SCHEMA_FILE_DIR)
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+gsettings_SCHEMAS = org.gnome.eog.gschema.xml
+
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
+
+#schemas_in_files = eog.schemas.in
+#schemasdir = $(GCONF_SCHEMA_FILE_DIR)
+#schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
gladedir = $(pkgdatadir)
glade_DATA = eog-image-properties-dialog.ui \
@@ -50,6 +55,6 @@ EXTRA_DIST = \
DISTCLEANFILES = \
$(DESKTOP_FILES) \
- $(schemas_DATA)
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/data/org.gnome.eog.gschema.xml b/data/org.gnome.eog.gschema.xml
new file mode 100644
index 0000000..c93707f
--- /dev/null
+++ b/data/org.gnome.eog.gschema.xml
@@ -0,0 +1,114 @@
+<schemalist>
+ <schema id="org.gnome.eog" path="/apps/eog/">
+ <child name="view" schema="org.gnome.eog.view"/>
+ <child name="full_screen" schema="org.gnome.eog.full_screen"/>
+ <child name="ui" schema="org.gnome.eog.ui"/>
+ <child name="plugins" schema="org.gnome.eog.plugins"/>
+ </schema>
+ <schema id="org.gnome.eog.view" path="/apps/eog/view/">
+ <key name="autorotate" type="b">
+ <default>true</default>
+ <summary>Automatic orientation</summary>
+ <description>Whether the image should be rotated automatically based on EXIF orientation.</description>
+ </key>
+ <key name="interpolate" type="b">
+ <default>true</default>
+ <summary>Interpolate Image</summary>
+ <description>Whether the image should be interpolated on zoom-out. This leads to better quality but is somewhat slower than non interpolated images.</description>
+ </key>
+ <key name="extrapolate" type="b">
+ <default>true</default>
+ <summary>Extrapolate Image</summary>
+ <description>Whether the image should be extrapolated on zoom-in. This leads to blurry quality and is somewhat slower than non-extrapolated images.</description>
+ </key>
+ <key name="transparency" type="s">
+ <default>'CHECK_PATTERN'</default>
+ <summary>Transparency indicator</summary>
+ <description>Determines how transparency should be indicated. Valid values are CHECK_PATTERN, COLOR and NONE. If COLOR is choosen, then the trans_color key determines the used color value.</description>
+ </key>
+ <key name="scroll_wheel_zoom" type="b">
+ <default>true</default>
+ <summary>Scroll wheel zoom</summary>
+ <description>Whether the scroll wheel should be used for zooming.</description>
+ </key>
+ <key name="zoom_multiplier" type="d">
+ <default>0.05</default>
+ <summary>Zoom multiplier</summary>
+ <description>The multiplier to be applied when using the mouse scroll wheel for zooming. This value defines the zooming step used for each scroll event. For example, 0.05 results in a 5% zoom increment for each scroll event and 1.00 result in a 100% zoom increment.</description>
+ </key>
+ <key name="trans_color" type="s">
+ <default>'#000000'</default>
+ <summary>Transparency color</summary>
+ <description>If the transparency key has the value COLOR, then this key determines the color which is used for indicating transparency.</description>
+ </key>
+ </schema>
+ <schema id="org.gnome.eog.full_screen" path="/apps/eog/full_screen/">
+ <key name="loop" type="b">
+ <default>true</default>
+ <summary>Loop through the image sequence</summary>
+ <description>Whether the sequence of images should be shown in an endless loop.</description>
+ </key>
+ <key name="upscale" type="b">
+ <default>true</default>
+ <summary>Allow zoom greater than 100% initially</summary>
+ <description>If this is set to FALSE small images will not be stretched to fit into the screen initially.</description>
+ </key>
+ <key name="seconds" type="i">
+ <default>5</default>
+ <summary>Delay in seconds until showing the next image</summary>
+ <description>A value greater than 0 determines the seconds an image stays on screen until the next one is shown automatically. Zero disables the automatic browsing.</description>
+ </key>
+ </schema>
+ <schema id="org.gnome.eog.ui" path="/apps/eog/ui/">
+ <key name="toolbar" type="b">
+ <default>true</default>
+ <summary>Show/Hide the window toolbar.</summary>
+ </key>
+ <key name="statusbar" type="b">
+ <default>true</default>
+ <summary>Show/Hide the window statusbar.</summary>
+ </key>
+ <key name="image_collection" type="b">
+ <default>false</default>
+ <summary>Show/Hide the image collection pane.</summary>
+ </key>
+ <key name="image_collection_position" type="i">
+ <default>0</default>
+ <summary>Image collection pane position. Set to 0 for bottom; 1 for left; 2 for top; 3 for right.</summary>
+ </key>
+ <key name="image_collection_resizable" type="b">
+ <default>false</default>
+ <summary>Whether the image collection pane should be resizable.</summary>
+ </key>
+ <key name="sidebar" type="b">
+ <default>true</default>
+ <summary>Show/Hide the window side pane.</summary>
+ </key>
+ <key name="scroll_buttons" type="b">
+ <default>true</default>
+ <summary>Show/Hide the image collection pane scroll buttons.</summary>
+ </key>
+ <key name="disable_trash_confirmation" type="b">
+ <default>false</default>
+ <summary>Trash images without asking</summary>
+ <description>If activated Eye of GNOME wont ask for confirmation when moving images to the trash. It will still ask if any of the files cannot be moved to the trash and would be deleted instead.</description>
+ </key>
+ <key name="filechooser_xdg_fallback" type="b">
+ <default>true</default>
+ <summary>Whether the file chooser should show the user's pictures folder if no images are loaded.</summary>
+ <description>If activated and no image is loaded in the active window, the file chooser will display the user's pictures folder using the XDG special user directories. If deactivated or the pictures folder has not been set up it will show the current working directory.</description>
+ </key>
+ <key name="propsdialog_netbook_mode" type="b">
+ <default>true</default>
+ <summary>Whether the metadata list in the properties dialog should have its own page.</summary>
+ <description>If activated the detailed metadata list in the properties dialog will be moved to its own page in the dialog. This should make the dialog more usable on smaller screens, e.g. as used by netbooks. If disabled the widget will be embedded on the "Metadata" page.</description>
+ </key>
+ </schema>
+ <schema id="org.gnome.eog.plugins" path="/apps/eog/plugins/">
+ <key name="active_plugins" type="as">
+ <default>[]</default>
+ <summary>Active plugins</summary>
+ <description>List of active plugins. It doesn't contain the "Location" of the active plugins. See the .eog-plugin file for obtaining the "Location" of a given plugin.</description>
+ </key>
+ </schema>
+</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]