]> spindle.queued.net Git - midori/commitdiff
Don't use icons of blank pages for web app windows
authorChristian Dywan <christian@twotoasts.de>
Fri, 19 Nov 2010 21:50:55 +0000 (22:50 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 19 Nov 2010 21:50:55 +0000 (22:50 +0100)
midori/main.c

index 9e5a4ad0c302a170dce2d2c0b812d8e6317119ab..91518e68962288e9b8964fb24bb58504fff38d5b 100644 (file)
@@ -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);
     }
 }