diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 0e2f42c0..ab8a7c07 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1308,6 +1308,9 @@ setup_document_from_metadata (EvWindow *window) ev_metadata_get_int (window->priv->metadata, "window_height", &height)) return; /* size was already set in setup_size_from_metadata */ + if (n_pages == 1) + ev_document_model_set_dual_page (window->priv->model, FALSE); + g_settings_get (window->priv->default_settings, "window-ratio", "(dd)", &width_ratio, &height_ratio); if (width_ratio > 0. && height_ratio > 0.) { gdouble document_width; |