evolution-rss r463 - trunk/src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r463 - trunk/src
- Date: Wed, 18 Mar 2009 09:52:29 +0000 (UTC)
Author: lucilanga
Date: Wed Mar 18 09:52:29 2009
New Revision: 463
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=463&view=rev
Log:
2009-03-18 Lucian Langa <lucilanga gnome org>
* src/rss.c: (org_gnome_cooly_format_rss) increase padding for rss articles
Modified:
trunk/src/rss.c
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Wed Mar 18 09:52:29 2009
@@ -1792,7 +1792,7 @@
if (comments) {
camel_stream_printf (fstream,
- "<div style=\"border: solid #%06x 0px; background-color: #%06x; color: #%06x;\">"
+ "<div style=\"border: solid #%06x 0px; background-color: #%06x; padding: 10px; color: #%06x;\">"
"<b><font size=+1><a href=%s>Comments</font></b>",
frame_colour & 0xffffff, content_colour & 0xffffff, text_colour & 0xffffff,
comments);
@@ -4203,15 +4203,20 @@
for (i=0; NULL != (el = g_array_index(r->item, xmlNodePtr, i)); i++) {
CF = parse_channel_line(el->children, NULL, NULL);
//print_cf(CF);
- g_string_append_printf(comments, "<tr><td><table cellpading=0 cellspacing=0 border=1 width=100%>");
- g_string_append_printf(comments,
- "<tr><td><table width=\"100%%\" cellspacing=0 cellpadding=0>");
- g_string_append_printf (comments, "<tr><td bgcolor=\"%06x\"><table width=100%% cellspacing=2 cellspadding=0><tr><td><b><a href=%s>%s</b></td><td align=right>%s</td></tr></table></td></tr>",
- content_colour & 0xEDECEB & 0xffffff,
+ g_string_append_printf (comments,
+ "<div style=\"border: solid #%06x 1px; background-color: #%06x; padding: 0px; color: #%06x;\">",
+ frame_colour & 0xffffff, content_colour & 0xEDECEB & 0xffffff, text_colour & 0xffffff);
+ g_string_append_printf (comments,
+ "<div style=\"border: solid 0px; background-color: #%06x; padding: 2px; color: #%06x;\">"
+ "<a href=%s><b>%s</b></a> on %s</div>",
+ content_colour & 0xEDECEB & 0xffffff, text_colour & 0xffffff,
CF->website, CF->subj, CF->date);
- g_string_append_printf(comments, "<tr><td><table cellpadding=3 cellspacing=3><tr><td colspan=2>%s</td></tr></table></td></tr>", CF->body);
- g_string_append_printf(comments, "</table></td></tr>");
- g_string_append_printf(comments, "</table></td></tr>");
+ g_string_append_printf (comments,
+ "<div style=\"border: solid #%06x 0px; background-color: #%06x; padding: 10px; color: #%06x;\">"
+ "%s</div>",
+ frame_colour & 0xffffff, content_colour & 0xffffff, text_colour & 0xffffff,
+ CF->body);
+ g_string_append_printf(comments, "</div> ");
}
gchar *scomments=comments->str;
g_string_free(comments, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]