[gtk+] file chooser: Also apply the settings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser: Also apply the settings
- Date: Fri, 11 Dec 2015 17:26:25 +0000 (UTC)
commit fb937984af2091daac4a0303f2ccc066248dcc01
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 11 12:25:31 2015 -0500
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.
gtk/gtkfilechooserdialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 5be8edc..92cd00a 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]