diff options
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index eae78784b..9dfccb49f 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -31,6 +31,7 @@ #include "ephy-thread-helpers.h" #include "ephy-bookmarks-import.h" #include "ephy-debug.h" +#include "toolbar.h" #include <string.h> #include <libgnomeui/gnome-client.h> @@ -448,10 +449,10 @@ ephy_shell_get_active_window (EphyShell *gs) **/ EphyTab * ephy_shell_new_tab (EphyShell *shell, - EphyWindow *parent_window, - EphyTab *previous_tab, - const char *url, - EphyNewTabFlags flags) + EphyWindow *parent_window, + EphyTab *previous_tab, + const char *url, + EphyNewTabFlags flags) { EphyWindow *window; EphyTab *tab; @@ -493,11 +494,15 @@ ephy_shell_new_tab (EphyShell *shell, if (flags & EPHY_NEW_TAB_HOMEPAGE) { + Toolbar *toolbar; char *homepage; homepage = build_homepage_url (shell, previous_embed); g_assert (homepage != NULL); + toolbar = ephy_window_get_toolbar (window); + toolbar_edit_location (toolbar); + ephy_embed_load_url (embed, homepage); g_free (homepage); |