evolution-rss r457 - in trunk: . src



Author: lucilanga
Date: Tue Mar 10 09:09:23 2009
New Revision: 457
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=457&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/TODO
   trunk/src/rss.c

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Tue Mar 10 09:09:23 2009
@@ -53,8 +53,10 @@
 	* add handling parser error to setup_feed (check HIG for error msg)
 	* handle slash categories
 	* add feed logo in title
-	* use ico if feed does not provide an icon
+	* use favico if feed does not provide an icon
 	* hook update in the properties  of folder
 	* search favicon in the subdomain->domain
 	* use combo popup for moving and placement of feed folders
 	* trigger resync after folder rename
+	* check webbuttons for webkit
+	* cancel operation should cancel fetching feed components

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Tue Mar 10 09:09:23 2009
@@ -1697,10 +1697,11 @@
 			//we do not need to setup a pop error menu since we're in 
 			//formatting process. But instead display mail body an error
 			//such proxy error or transport error
-			camel_stream_printf (t->stream, "<table border=1 width=\"100%%\" cellpadding=0 cellspacing=0><tr><td bgcolor=#ffffff>");
-			camel_stream_printf(t->stream, "<table border=0 width=\"100%%\" cellspacing=4 cellpadding=4><tr>");
-     			camel_stream_printf (t->stream, "<td bgcolor=\"#ffffff\">%s</td>", err->message);
-    			camel_stream_printf (t->stream, "</tr></table></td></tr></table>");
+			camel_stream_printf (t->stream,
+				"<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, "%s", err->message);
+    			camel_stream_printf (t->stream, "</div>");
                 	goto out;
         	}
 



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