Don't color tabs of blank/ special pages

This commit is contained in:
Christian Dywan 2011-10-28 23:22:03 +02:00
parent cd8cb11ea2
commit 5244bda781

View file

@ -46,7 +46,8 @@ colorful_tabs_view_notify_uri_cb (MidoriView* view,
label = midori_view_get_proxy_tab_label (view);
if ((hostname = midori_uri_parse (midori_view_get_display_uri (view), NULL))
if (!midori_uri_is_blank (midori_view_get_display_uri (view))
&& (hostname = midori_uri_parse (midori_view_get_display_uri (view), NULL))
&& katze_object_get_enum (view, "load-status") == MIDORI_LOAD_FINISHED)
{
icon = midori_view_get_icon (view);