Show the title in tab tooltips if available, not the URI

This commit is contained in:
Christian Dywan 2009-06-01 19:47:14 +02:00
parent ec4a10c385
commit af25a8bc0f

View file

@ -2566,7 +2566,7 @@ midori_view_tab_label_query_tooltip_cb (GtkWidget* tab_label,
if (view->speed_dial_in_new_tabs)
gtk_tooltip_set_icon (tooltip, midori_view_get_snapshot (view, 160, 107));
else
gtk_tooltip_set_text (tooltip, view->uri);
gtk_tooltip_set_text (tooltip, midori_view_get_display_title (view));
return TRUE;
}
#endif