aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog4
-rw-r--r--my-evolution/e-summary-rdf.c8
-rw-r--r--my-evolution/e-summary.c2
3 files changed, 10 insertions, 4 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index f7eb777b9f..b663fe4e8d 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-13 Larry Ewing <lewing@ximian.com>
+
+ * e-summary.c (e_summary_url_requested): free the filename.
+
2003-06-05 Not Zed <NotZed@Ximian.com>
** For #42691.
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index a0a7adf58d..e49d5d008f 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -202,14 +202,14 @@ tree_walk (xmlNodePtr root,
char *p;
/* FIXME: Hash table & UID */
- p = g_strdup_printf ("<font size=\"-2\"><a href=\"rdf://%d\">(+)</a></font>", GPOINTER_TO_INT (r));
+ p = g_strdup_printf ("<a href=\"rdf://%d\" style=\"text-decoration: none; color: black\">&#x25b6;</a>", GPOINTER_TO_INT (r));
g_string_append (html, p);
g_free (p);
} else {
char *p;
/* FIXME: Hash table & UID */
- p = g_strdup_printf ("<font size=\"-2\"><a href=\"rdf://%d\">(-)</a></font>", GPOINTER_TO_INT (r));
+ p = g_strdup_printf ("<a href=\"rdf://%d\" style=\"text-decoration: none; color: black\">&#x25BC;</a>", GPOINTER_TO_INT (r));
g_string_append (html, p);
g_free (p);
}
@@ -260,7 +260,7 @@ tree_walk (xmlNodePtr root,
u = layer_find(channel->children, "link", "");
if (*u != '\0')
- g_string_sprintfa (html, "<a href=\"%s\">", u);
+ g_string_sprintfa (html, "<a href=\"%s\" style=\"text-decoration: none; color: black;\"><b>", u);
if (charset) {
char *tmp = e_utf8_from_charset_string (charset, t);
@@ -285,7 +285,7 @@ tree_walk (xmlNodePtr root,
for (i = 0; i < items; i++) {
char *p = layer_find (item[i]->children, "title", "No information");
- tmp = g_strdup_printf ("<LI><font size=\"-1\"><A href=\"%s\">\n", layer_find_url(item[i]->children, "link", ""));
+ tmp = g_strdup_printf ("<LI><font size=\"-1\"><A href=\"%s\" style=\"text-decoration: none; color: black;\">\n", layer_find_url(item[i]->children, "link", ""));
g_string_append (html, tmp);
g_free (tmp);
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 3cccc4bb7c..29ce61b28c 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -441,6 +441,7 @@ e_summary_url_requested (GtkHTML *html,
contents = e_read_file_with_length (filename, &length);
if (contents == NULL) {
+ g_free (filename);
return;
}
@@ -453,6 +454,7 @@ e_summary_url_requested (GtkHTML *html,
gtk_html_stream_write (stream, img->buffer, img->bufsize);
gtk_html_stream_close (stream, GTK_HTML_STREAM_OK);
+ g_free (filename);
}
static void