[Xfce4-commits] <midori:master> Don't store/ load stock:// icons for special pages

Christian Dywan noreply at xfce.org
Mon Feb 25 20:24:01 CET 2013


Updating branch refs/heads/master
         to 4d08794676709e9a69c69f15fcfb61e6b7cdfc7c (commit)
       from c3585fb5db5cbcfb3890e3019e0878dad0755694 (commit)

commit 4d08794676709e9a69c69f15fcfb61e6b7cdfc7c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Feb 25 20:22:23 2013 +0100

    Don't store/ load stock:// icons for special pages

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

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 63d9edc..90336b6 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -469,7 +469,7 @@ midori_view_unset_icon (MidoriView* view)
             pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
     }
 
-    midori_view_apply_icon (view, pixbuf, "stock://gtk-file");
+    midori_view_apply_icon (view, pixbuf, NULL);
     g_object_unref (icon);
 }
 
@@ -1275,7 +1275,7 @@ midori_view_display_error (MidoriView*     view,
             "{dir}", gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL ?
                 "rtl" : "ltr",
             "{title}", title_escaped,
-            "{icon}", icon ? icon : "",
+            "{icon}", icon && strcmp (&icon[8], "stock://") ? icon : "",
             "{message}", message,
             "{description}", description,
             "{tryagain}", try_again,


More information about the Xfce4-commits mailing list