summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2014-03-04 12:43:13 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2014-03-10 11:17:03 +0100
commit744d022bb450eb65624538dab231decd99490f6e (patch)
tree143ed2338128fa7b62b53e80db089034cb2843c4 /tests
parent0d89197cd0d1516d3003eb3e8c6d9ac0118c5712 (diff)
downloadepiphany-744d022bb450eb65624538dab231decd99490f6e.tar.gz
Add title parameter to ephy_shell_new_tab_full to create tabs with an initial title
And use it from ephy-session so that when loading the session and not using delayed requests, you don't see all the tabs initially with "Blank Page" title. https://bugzilla.gnome.org/show_bug.cgi?id=725649
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-shell-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ephy-shell-test.c b/tests/ephy-shell-test.c
index 8e09a6c21..45c593e99 100644
--- a/tests/ephy-shell-test.c
+++ b/tests/ephy-shell-test.c
@@ -57,6 +57,7 @@ test_ephy_shell_basic_embeds (void)
/* Embed should be created. */
embed1 = ephy_shell_new_tab_full
(ephy_shell,
+ NULL, /* title */
NULL, /* related view */
window,
NULL, /* embed */
@@ -73,6 +74,7 @@ test_ephy_shell_basic_embeds (void)
/* Another embed should be created */
embed2 = ephy_shell_new_tab_full
(ephy_shell,
+ NULL, /* title */
NULL, /* related view */
window, /* window */
NULL, /* embed */