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.
This commit is contained in:
Matthias Clasen
2015-12-11 12:25:31 -05:00
parent d4654dd10b
commit fb937984af

View File

@ -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