Commit fb937984 authored by Matthias Clasen's avatar Matthias Clasen

file chooser: Also apply the settings

I forgot that the settings object we're dealing with here
is in delay mode, so settings won't apply immediately.
parent d4654dd1
......@@ -643,6 +643,8 @@ save_dialog_geometry (GtkFileChooserDialog *dialog)
g_settings_get (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", &old_width, &old_height);
if (old_width != width || old_height != height)
g_settings_set (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", width, height);
g_settings_apply (settings);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment