evolution-rss r164 - in trunk: . po src



Author: lucilanga
Date: Sun Feb 24 12:43:00 2008
New Revision: 164
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=164&view=rev

Log:
add config-factory headers

Added:
   trunk/src/rss-config-factory.h
Modified:
   trunk/TODO
   trunk/po/POTFILES.in
   trunk/src/Makefile.am
   trunk/src/dbus.c
   trunk/src/rss.c

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Sun Feb 24 12:43:00 2008
@@ -30,10 +30,11 @@
 	* fix move->rename
 	* use tagging stuff when releasing
 	* fix ubuntu crashing when wrong entities (<0.0.6) and feed conf files stored in a file
-	* do not remove hash key when iterate !
-	* check mycall resize, verify data is valid widget -> generates crash
+	! do not remove hash key when iterate !
+	! check mycall resize, verify data is valid widget -> generates crash
 	* crash (mail_append_message) if folder contains .lock file ? or ibex crashes
 	* implement notify back of imported feed perhaps libnotify
 	* prefetch html content for all webkits (perhaps temp file)
 	* implement web controls for diferent redering <Webkits> or <Gecko>
 	* convert reading feeds progress bar to articles number that will actually be read
+	* force soup to follow redirects (304) test on fedora weekly news

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Sun Feb 24 12:43:00 2008
@@ -4,6 +4,7 @@
 src/evolution-rss.schemas.in
 src/network-soup.c
 src/rss.c
+src/rss-config-factory.c
 src/rss-ui.glade
 src/org-gnome-evolution-rss.eplug.xml
 src/org-gnome-evolution-rss.error.xml

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Sun Feb 24 12:43:00 2008
@@ -141,6 +141,7 @@
 	misc.c					\
 	dbus.c					\
 	rss-config-factory.c			\
+	rss-config-factory.h			\
 	evolution-import-rss.c			\
 	evolution-rss.schemas.in		\
 	org-gnome-evolution-rss.eplug.xml	\

Modified: trunk/src/dbus.c
==============================================================================
--- trunk/src/dbus.c	(original)
+++ trunk/src/dbus.c	Sun Feb 24 12:43:00 2008
@@ -27,6 +27,7 @@
 #include <dbus/dbus-glib-lowlevel.h>
 
 #include <rss.h>
+#include <rss-config-factory.h>
 
 #define DBUS_PATH "/org/gnome/evolution/mail/rss"
 #define DBUS_INTERFACE "org.gnome.evolution.mail.rss.in"
@@ -122,7 +123,7 @@
 					g_print("chn_name:%s\n", lookup_chn_name_by_url(feed->feed_url));
 #endif
 				}	
-				store_redraw(rf->treeview);
+				store_redraw(GTK_TREE_VIEW(rf->treeview));
         			save_gconf_feed();
         			camel_operation_end(NULL);
 			}

Added: trunk/src/rss-config-factory.h
==============================================================================
--- (empty file)
+++ trunk/src/rss-config-factory.h	Sun Feb 24 12:43:00 2008
@@ -0,0 +1,25 @@
+/*  Evoution RSS Reader Plugin
+ *  Copyright (C) 2007-2008 Lucian Langa <cooly gnome eu org> 
+ *  
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or 
+ *  (at your option) any later version.
+ *  
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *  
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __RSS_CONFIG_FACTORY_H_
+#define __RSS_CONFIG_FACTORY_H_
+
+void store_redraw(GtkTreeView *data);
+
+#endif /*__RSS_CONFIG_FACTORY_H_*/
+

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Sun Feb 24 12:43:00 2008
@@ -434,7 +434,7 @@
 static void
 textcb(NetStatusType status, gpointer statusdata, gpointer data)
 {
-/*    NetStatusProgress *progress;
+    NetStatusProgress *progress;
     float fraction = 0;
     switch (status) {
     case NET_STATUS_PROGRESS:
@@ -453,7 +453,7 @@
         break;
     default:
         g_warning("unhandled network status %d\n", status);
-    }*/
+    }
 }
 
 gboolean
@@ -2140,6 +2140,8 @@
 #ifdef RSS_DEBUG
 	g_print("content:%s\n", content->str);
 #endif
+	g_print("content_len:%d|||\n", content->len);
+	g_print("content:%s|||\n", doc);
 	root = xmlDocGetRootElement(doc);
 
 	if ((doc != NULL && root != NULL)



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