aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-05-17 01:02:42 +0800
committerDan Vrátil <dvratil@redhat.com>2012-05-17 01:02:42 +0800
commitf14af6f9988ec850e5da566657163fdcdb22aeaf (patch)
tree72b90773e5f47f24f2705f79ba07e45c2f073062 /calendar
parentf28b9dfded9f083c5d6d6537102e9c56fcc79e6d (diff)
downloadgsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar.gz
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar.bz2
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar.lz
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar.xz
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.tar.zst
gsoc2013-evolution-f14af6f9988ec850e5da566657163fdcdb22aeaf.zip
Bug #675863 - Cannot load webview.css from Tasks/Memos
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-cal-component-preview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index 4b727d4d53..a1bfe92850 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -58,7 +58,7 @@ struct _ECalComponentPreviewPrivate {
#define HTML_HEADER "<!doctype html public \"-//W3C//DTD HTML 4.0 TRANSITIONAL//EN\">\n<html>\n" \
"<head>\n<meta name=\"generator\" content=\"Evolution Calendar Component\">\n" \
- "<link type=\"text/css\" rel=\"stylesheet\" href=\"file://" EVOLUTION_PRIVDATADIR "/theme/webview.css\">\n" \
+ "<link type=\"text/css\" rel=\"stylesheet\" href=\"evo-file://" EVOLUTION_PRIVDATADIR "/theme/webview.css\">\n" \
"<style>\n" \
".description { font-family: monospace; font-size: 1em; }\n" \
"</style>\n" \
@@ -224,7 +224,7 @@ cal_component_preview_write_html (GString *buffer,
uri = g_filename_to_uri (icon_file, NULL, NULL);
g_string_append_printf (
- buffer, "<img alt=\"%s\" src=\"%s\">",
+ buffer, "<img alt=\"%s\" src=\"evo-%s\">",
category, uri);
g_free (uri);
} else {