aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-11 02:14:09 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-11 02:14:09 +0800
commit0367eba34e201693a4769899eaa981357ed09def (patch)
treea1bcaca9ad7276a3567899fee4d6e66c673e9722 /src/ephy-shell.c
parentcea36c0d6561dcad2abd0863c28b8b0314ac470f (diff)
downloadgsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.gz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.bz2
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.lz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.xz
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.tar.zst
gsoc2013-epiphany-0367eba34e201693a4769899eaa981357ed09def.zip
Open new tabs with blank url bar if we're loading the homepage. Fixes bug
2005-08-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_address), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/epiphany.defs: Open new tabs with blank url bar if we're loading the homepage. Fixes bug #313012.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 9dec961e9..0fba9847f 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -768,6 +768,8 @@ ephy_shell_new_tab_full (EphyShell *shell,
if (flags & EPHY_NEW_TAB_HOME_PAGE ||
flags & EPHY_NEW_TAB_NEW_PAGE)
{
+ ephy_tab_set_typed_address (tab, "",
+ EPHY_TAB_ADDRESS_EXPIRE_NEXT);
ephy_toolbar_activate_location (toolbar);
is_empty = load_homepage (embed);
}