From b45047739e9ebc02200267a52295f24adf4ca668 Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Fri, 22 Feb 2013 15:38:01 -0300 Subject: Add setting for delayed tab loading, and use it to fix the session tests The session tests were broken by the delayed tab loading feature - the restored embeds would not finish loading and thus the expectations for the URIs were not met. This change adds a setting that is now used by those tests to disable the feature temporarily. Also revert "ephy-session-test: make tests pass", which is no longer necessary. This reverts commit 75da5fff3f4489dacf4ded6f012daa06af306709. https://bugzilla.gnome.org/show_bug.cgi?id=694470 --- data/org.gnome.epiphany.gschema.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/org.gnome.epiphany.gschema.xml') diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml index becb0a23d..b815635cc 100644 --- a/data/org.gnome.epiphany.gschema.xml +++ b/data/org.gnome.epiphany.gschema.xml @@ -54,6 +54,11 @@ Whether to automatically restore the last session Defines how the session will be restored during startup. Allowed values are 'always' (the previous state of the application is always restored), 'crashed' (the session is only restored if the application crashes) and 'never' (the homepage is always shown). + + true + Whether to delay loading of tabs that are not immediately visible on session restore + When this option is set to true, tabs will not start loading until the user switches to them, upon session restore. + -- cgit v1.2.3