From: Christian Dywan Date: Tue, 21 Feb 2012 20:41:23 +0000 (+0100) Subject: Fix colorful tabs by checking icon, not load status X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599de9cb74930b09aea31d3e3c9c26ef5685ba7b;p=midori Fix colorful tabs by checking icon, not load status Otherwise delayed tabs would never be colored. --- 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;