evolution-rss r112 - in trunk: . src



Author: lucilanga
Date: Thu Jan 10 20:17:08 2008
New Revision: 112
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=112&view=rev

Log:
rss_error fixes

Modified:
   trunk/TODO
   trunk/src/rss.c

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Thu Jan 10 20:17:08 2008
@@ -26,3 +26,6 @@
 	* check memory consumption when S&R
 	* fix dbus when not available
 	* non intrusive errors
+	* implement other engines besides soup
+	* implement USM (universal subscription mechanism)
+	* feed://

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Thu Jan 10 20:17:08 2008
@@ -278,8 +278,8 @@
 			g_hash_table_insert(rf->error_hash, newkey, id);
 		}
 		taskbar_op_finish(key);
+		goto out;
 	}
-	goto out;
 #endif
 
 	if (!rf->errdialog)
@@ -2831,6 +2831,7 @@
 	{
         	width = widget->allocation.width - 16 - 2;// - 16;
         	int height = widget->allocation.height - 16 - k;
+		g_print("resize webkit :width:%d, height: %d\n", width, height);
 #ifdef RSS_DEBUG
 		g_print("resize webkit :width:%d, height: %d\n", width, height);
 #endif
@@ -3391,9 +3392,11 @@
         content = net_post_blocking(feed->feed_url, NULL, post, textcb, rf, &err);
         if (err)
 	{
+		g_print("err:%s\n", err->message);
 		rss_error(NULL, feed->feed_name ? feed->feed_name: "Unamed feed", _("Error while fetching feed."), err->message);
 		goto out;
         }
+	g_print("here\n");
         xmlDocPtr doc = NULL;
         xmlNodePtr root = NULL;
         xmlSubstituteEntitiesDefaultValue = 0;
@@ -3401,6 +3404,7 @@
 #ifdef RSS_DEBUG
 	g_print("content:%s\n", content->str);
 #endif
+	g_print("content:%s\n", content->str);
 	root = xmlDocGetRootElement(doc);
 
 	if ((doc != NULL && root != NULL)



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