summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-16 20:07:37 +0200
committerStefano Karapetsas <[email protected]>2013-04-16 20:07:37 +0200
commit457a0b86a2e213c36a0f0c776cef90bd560c6684 (patch)
treee6657959a8080749632b2269897a1437023968af
parent59593ba14fadc83e28151ea407fcaacb9d848daa (diff)
downloadeom-457a0b86a2e213c36a0f0c776cef90bd560c6684.tar.bz2
eom-457a0b86a2e213c36a0f0c776cef90bd560c6684.tar.xz
Move filechooser-xdg-fallback key into the correct GSettings schema
-rw-r--r--data/org.mate.eom.gschema.xml.in.in10
-rw-r--r--src/eom-window.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/data/org.mate.eom.gschema.xml.in.in b/data/org.mate.eom.gschema.xml.in.in
index f2ca0d5..80b0369 100644
--- a/data/org.mate.eom.gschema.xml.in.in
+++ b/data/org.mate.eom.gschema.xml.in.in
@@ -63,11 +63,6 @@
<_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="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="seconds" type="i">
<default>5</default>
<_summary>Delay in seconds until showing the next image</_summary>
@@ -113,6 +108,11 @@
<_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>
+ <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>
</schema>
<schema id="org.mate.eom.plugins" path="/org/mate/eom/plugins/">
<key name="active-plugins" type="as">
diff --git a/src/eom-window.c b/src/eom-window.c
index db49a7b..7a8ec7a 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2436,7 +2436,7 @@ eom_window_cmd_file_open (GtkAction *action, gpointer user_data)
const gchar *pics_dir;
gboolean use_fallback;
- use_fallback = g_settings_get_boolean (priv->fullscreen_settings,
+ use_fallback = g_settings_get_boolean (priv->ui_settings,
EOM_CONF_UI_FILECHOOSER_XDG_FALLBACK);
pics_dir = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
if (use_fallback && pics_dir) {