[Xfce4-commits] <midori:master> Fix colorful tabs by checking icon, not load status
Christian Dywan
noreply at xfce.org
Tue Feb 21 21:48:01 CET 2012
Updating branch refs/heads/master
to 599de9cb74930b09aea31d3e3c9c26ef5685ba7b (commit)
from 51e3e8e495913c155bb00612ab4bebe7d3df217e (commit)
commit 599de9cb74930b09aea31d3e3c9c26ef5685ba7b
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Feb 21 21:41:23 2012 +0100
Fix colorful tabs by checking icon, not load status
Otherwise delayed tabs would never be colored.
extensions/colorful-tabs.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/extensions/colorful-tabs.c b/extensions/colorful-tabs.c
index bb261d5..9bb84c3 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;
More information about the Xfce4-commits
mailing list