[Xfce4-commits] <midori:master> Build correct logo path for not found error page
Christian Dywan
noreply at xfce.org
Sat Apr 30 13:16:04 CEST 2011
Updating branch refs/heads/master
to 7dec02247137744b45ea084a8fd2d8b972d744b7 (commit)
from d8a3ef40f65803b5b92fba87c057d6eb7936797b (commit)
commit 7dec02247137744b45ea084a8fd2d8b972d744b7
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Sat Apr 30 12:13:07 2011 +0200
Build correct logo path for not found error page
midori/midori-view.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 31d6612..83c058d 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -1528,17 +1528,16 @@ webkit_web_frame_load_done_cb (WebKitWebFrame* web_frame,
gboolean success,
MidoriView* view)
{
- gchar* title;
- gchar* data;
- gchar* logo_path;
- gchar* logo_uri;
-
if (!success)
{
+ gchar* title;
+ gchar* data;
+ gchar* logo_path;
+ gchar* logo_uri;
/* i18n: The title of the 404 - Not found error page */
title = g_strdup_printf (_("Not found - %s"), view->uri);
katze_assign (view->title, title);
- 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 (
More information about the Xfce4-commits
mailing list