[Xfce4-commits] <midori:master> Don't use icons of blank pages for web app windows

Christian Dywan noreply at xfce.org
Fri Nov 19 23:00:01 CET 2010


Updating branch refs/heads/master
         to 2f3a016b21a43877f3b1989c000830ab364fd4e6 (commit)
       from cb83843a28b5cd3adc80596a8443dcf00c250179 (commit)

commit 2f3a016b21a43877f3b1989c000830ab364fd4e6
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Nov 19 22:50:55 2010 +0100

    Don't use icons of blank pages for web app windows

 midori/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 9e5a4ad..91518e6 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);
     }
 }



More information about the Xfce4-commits mailing list