aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index c3630fc6b..52bdebebb 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -712,13 +712,18 @@ build_progress_from_requests (EphyTab *tab, EmbedState state)
}
static void
-ensure_address (EphyTab *tab, const char *address)
+ensure_page_info (EphyTab *tab, const char *address)
{
if (tab->priv->address == NULL &&
tab->priv->address_expire == TAB_ADDRESS_EXPIRE_NOW)
{
ephy_tab_set_location (tab, address, TAB_ADDRESS_EXPIRE_NOW);
}
+
+ if (tab->priv->title == NULL)
+ {
+ ephy_tab_set_title (tab, NULL);
+ }
}
static void
@@ -742,9 +747,8 @@ ephy_tab_net_state_cb (EphyEmbed *embed, const char *uri,
{
tab->priv->total_requests = 0;
tab->priv->cur_requests = 0;
- ensure_address (tab, uri);
+ ensure_page_info (tab, uri);
- ephy_tab_set_title (tab, NULL);
ephy_tab_set_load_percent (tab, 0);
ephy_tab_set_load_status (tab, TRUE);
ephy_tab_update_navigation_flags (tab);
@@ -942,7 +946,7 @@ ephy_tab_init (EphyTab *tab)
tab->priv->cur_requests = 0;
tab->priv->width = -1;
tab->priv->height = -1;
- tab->priv->title = g_strdup (_("Loading..."));
+ tab->priv->title = NULL;
tab->priv->address = NULL;
tab->priv->icon_address = NULL;
tab->priv->load_percent = 0;