Don't color tabs of blank/ special pages
This commit is contained in:
parent
cd8cb11ea2
commit
5244bda781
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue