diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-22 08:32:25 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-22 08:32:25 (GMT) |
commit | 985f7016929bae86f89e63fc2b7b56145fbd0382 (patch) | |
tree | 754e6eb008589b4c8a8147bfcc083314a760de43 /shell/ev-window.c | |
parent | a6c10f45925855a5eee700c5d0af34068f4af84b (diff) |
[shell] Use delay-apply mode for last_settings
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 29ee12a..dbdb63b 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4874,6 +4874,7 @@ ev_window_dispose (GObject *object) } if (priv->last_settings) { + g_settings_apply (priv->last_settings); g_object_unref (priv->last_settings); priv->last_settings = NULL; } @@ -6460,6 +6461,7 @@ ev_window_init (EvWindow *ev_window) gtk_widget_grab_focus (ev_window->priv->view); ev_window->priv->last_settings = g_settings_new (GS_SCHEMA_NAME".Default"); + g_settings_delay (ev_window->priv->last_settings); /* Set it user interface params */ ev_window_setup_recent (ev_window); |