Show the title in tab tooltips if available, not the URI
This commit is contained in:
parent
ec4a10c385
commit
af25a8bc0f
1 changed files with 1 additions and 1 deletions
|
@ -2566,7 +2566,7 @@ midori_view_tab_label_query_tooltip_cb (GtkWidget* tab_label,
|
||||||
if (view->speed_dial_in_new_tabs)
|
if (view->speed_dial_in_new_tabs)
|
||||||
gtk_tooltip_set_icon (tooltip, midori_view_get_snapshot (view, 160, 107));
|
gtk_tooltip_set_icon (tooltip, midori_view_get_snapshot (view, 160, 107));
|
||||||
else
|
else
|
||||||
gtk_tooltip_set_text (tooltip, view->uri);
|
gtk_tooltip_set_text (tooltip, midori_view_get_display_title (view));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue