commit e62bd65c22b88152e558373153703c4d019d093f
Author: alex <alex@livonia.localdomain>
Date:   Tue Jan 5 14:11:14 2010 +0100

    Fix problem with the tab loading title
    
    The logic of the title selection was not correct when loading and
    the tabs were not using the proper function to get title.
    
    Bug #606098

diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 6b717a0..5de8e99 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3187,11 +3187,10 @@ ephy_web_view_get_title_composite (EphyWebView *view)
   loading_title = ephy_web_view_get_loading_title (view);
   title = ephy_web_view_get_title (view);
 
-  if (is_blank)
-  {
-    if (is_loading)
-      title = loading_title;
-    else
+  if (is_loading) {
+    title = loading_title;
+  } else {
+    if (is_blank)
       title = _("Blank page");
   }
 
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 8dbb10e..d0ccbbc 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -537,7 +537,7 @@ sync_label (EphyWebView *view, GParamSpec *pspec, GtkWidget *label)
 {
 	const char *title;
 
-	title = ephy_web_view_get_title (view);
+	title = ephy_web_view_get_title_composite (view);
 
 	gtk_label_set_text (GTK_LABEL (label), title);
 
