diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index e4a2e49a5..8d20520e1 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2181,8 +2181,8 @@ load_changed_cb (WebKitWebView *web_view, g_object_notify (object, "status-message"); ephy_web_view_set_loading_title (view, NULL, FALSE); - if (priv->is_blank) - g_object_notify (object, "embed-title"); + if (priv->is_blank || !webkit_web_view_get_title (web_view)) + ephy_web_view_set_title (view, NULL); #if 0 /* TODO: DOM bindings */ @@ -2337,7 +2337,7 @@ load_status_cb (WebKitWebView *web_view, ephy_web_view_set_loading_title (view, NULL, FALSE); if (priv->is_blank) - g_object_notify (object, "embed-title"); + ephy_web_view_set_title (view, NULL); if (ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_PRIVATE && g_settings_get_boolean (EPHY_SETTINGS_MAIN, |