From 2f3a016b21a43877f3b1989c000830ab364fd4e6 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 19 Nov 2010 22:50:55 +0100 Subject: [PATCH] Don't use icons of blank pages for web app windows --- midori/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/main.c b/midori/main.c index 9e5a4ad0..91518e68 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1354,6 +1354,8 @@ midori_web_app_browser_notify_load_status_cb (MidoriBrowser* browser, { GtkWidget* view = midori_browser_get_current_tab (browser); GdkPixbuf* icon = midori_view_get_icon (MIDORI_VIEW (view)); + if (midori_view_is_blank (MIDORI_VIEW (view))) + icon = NULL; gtk_window_set_icon (GTK_WINDOW (browser), icon); } } -- 2.39.5