[Xfce4-commits] <midori:master> Look for logo in folder midori/res, not midori/

Christian Dywan noreply at xfce.org
Sun May 1 19:54:01 CEST 2011


Updating branch refs/heads/master
         to 2a9282df7531c3abe55c06892be095854b61b40f (commit)
       from 85fd237f28e4d9c85470e051923fcd7b59b164f5 (commit)

commit 2a9282df7531c3abe55c06892be095854b61b40f
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Sun May 1 18:56:39 2011 +0200

    Look for logo in folder midori/res, not midori/

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

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 9b26ec7..e2df2a0 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4144,7 +4144,7 @@ midori_view_set_uri (MidoriView*  view,
 
                 katze_assign (view->uri, g_strdup (&uri[16]));
                 title = g_strdup_printf (_("Document cannot be displayed"));
-                logo_path = sokoke_find_data_filename ("midori/logo-shade.png");
+                logo_path = sokoke_find_data_filename ("midori/res/logo-shade.png");
                 logo_uri = g_filename_to_uri (logo_path, NULL, NULL);
                 g_free (logo_path);
                 data = g_strdup_printf (
@@ -4167,7 +4167,7 @@ midori_view_set_uri (MidoriView*  view,
 
                 katze_assign (view->uri, g_strdup (&uri[13]));
                 title = g_strdup_printf (_("No documentation installed"));
-                logo_path = sokoke_find_data_filename ("midori/logo-shade.png");
+                logo_path = sokoke_find_data_filename ("midori/res/logo-shade.png");
                 logo_uri = g_filename_to_uri (logo_path, NULL, NULL);
                 g_free (logo_path);
                 data = g_strdup_printf (
@@ -4267,7 +4267,7 @@ midori_view_set_uri (MidoriView*  view,
                 katze_assign (view->uri, g_strdup (uri));
                 data = g_strdup_printf (
                     "<html><head><title>%s</title></head><body><h1>%s</h1>"
-                    "<img src=\"file://" MDATADIR "/midori/logo-shade.png\" "
+                    "<img src=\"file://" MDATADIR "/midori/res/logo-shade.png\" "
                     "style=\"position: absolute; right: 15px; bottom: 15px; z-index: -9;\">"
                     "</body></html>", view->uri, view->uri);
             }



More information about the Xfce4-commits mailing list