From 599de9cb74930b09aea31d3e3c9c26ef5685ba7b Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 21 Feb 2012 21:41:23 +0100 Subject: [PATCH] Fix colorful tabs by checking icon, not load status Otherwise delayed tabs would never be colored. --- extensions/colorful-tabs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/colorful-tabs.c b/extensions/colorful-tabs.c index bb261d58..9bb84c3b 100644 --- a/extensions/colorful-tabs.c +++ b/extensions/colorful-tabs.c @@ -48,11 +48,10 @@ colorful_tabs_view_notify_uri_cb (MidoriView* view, if (!midori_uri_is_blank (midori_view_get_display_uri (view)) && (hostname = midori_uri_parse_hostname (midori_view_get_display_uri (view), NULL)) - && katze_object_get_enum (view, "load-status") == MIDORI_LOAD_FINISHED) + && midori_view_get_icon_uri (view) != NULL) { icon = midori_view_get_icon (view); - - if (midori_view_get_icon_uri (view) != NULL) + if (icon != NULL) { GdkPixbuf* newpix; guchar* pixels; -- 2.39.5