From 5244bda781f7789391f9058b2a9da81d8e2e3a87 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 28 Oct 2011 23:22:03 +0200 Subject: [PATCH] Don't color tabs of blank/ special pages --- extensions/colorful-tabs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/colorful-tabs.c b/extensions/colorful-tabs.c index 672797e6..1726e290 100644 --- a/extensions/colorful-tabs.c +++ b/extensions/colorful-tabs.c @@ -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);