evolution-rss r456 - trunk/src



Author: lucilanga
Date: Tue Mar 10 08:52:59 2009
New Revision: 456
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=456&view=rev

Log:
** Fix for bug #573914

        * src/rss.c: (org_gnome_cooly_format_rss) - use <div> for displaying
        articles in order to correctly display article on dark themes

Modified:
   trunk/src/rss.c

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Tue Mar 10 08:52:59 2009
@@ -1821,11 +1821,11 @@
                "<div style=\"border: solid #%06x 1px; background-color: #%06x; color: #%06x;\">\n",
                frame_colour & 0xffffff, content_colour & 0xffffff, text_colour & 0xffffff);
 	camel_stream_printf(t->stream, 
-	"<table border=0 width=\"100%%\" cellspacing=4 cellpadding=4>");
+        "<div style=\"border: solid 0px; padding: 2px;\">\n");
      	camel_stream_printf (t->stream,
-	"<tr><td><h3>Formatting error!</h3></td></tr>"
-	"<tr><td>Feed article corrupted! Cannot format article.</td></tr>");
-    	camel_stream_printf (t->stream, "</table></div>");
+	"<h3>Formatting error!</h3>"
+	"Feed article corrupted! Cannot format article.");
+    	camel_stream_printf (t->stream, "</div></div>");
 	return;
 }
 



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