From: Christian Dywan Date: Mon, 1 Jun 2009 17:47:14 +0000 (+0200) Subject: Show the title in tab tooltips if available, not the URI X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af25a8bc0f97f9b49d8523f418cba30be6d89fea;p=midori Show the title in tab tooltips if available, not the URI --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 79405da9..be3a9a09 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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