]> spindle.queued.net Git - midori/commitdiff
Show the title in tab tooltips if available, not the URI
authorChristian Dywan <christian@twotoasts.de>
Mon, 1 Jun 2009 17:47:14 +0000 (19:47 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 1 Jun 2009 17:47:14 +0000 (19:47 +0200)
midori/midori-view.c

index 79405da9e686557151b87af50e23e0c05a166970..be3a9a091ae414be65cccbecf975f95312d8075a 100644 (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