[empathy] WebKit is expecting an absolute path to a file name as the last parameter of webkit_web_view_load_ht



commit 2aeffc8776f7e19a44a619b3de26f748d0346b8d
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Nov 6 10:25:24 2008 +0100

    WebKit is expecting an absolute path to a file name as the last parameter of webkit_web_view_load_html_string.  But adding a extra / at the end of
    the path works also fine (patch to be attached).

 libempathy-gtk/empathy-theme-adium.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 545088c..b1da87b 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -85,7 +85,7 @@ theme_adium_load (EmpathyThemeAdium *theme)
 	guint                  len = 0;
 	guint                  i = 0;
 
-	priv->basedir = g_build_filename (priv->path, "Contents", "Resources", NULL);
+	priv->basedir = g_strconcat (priv->path, G_DIR_SEPARATOR_S "Contents" G_DIR_SEPARATOR_S "Resources" G_DIR_SEPARATOR_S, NULL);
 
 	/* Load html files */
 	file = g_build_filename (priv->basedir, "Incoming", "Content.html", NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]