[evolution-rss] add missing file



commit 3c5ce3bdba23b187c3602e126d47b3bc5db80a3a
Author: Lucian Langa <lucilanga gnome org>
Date:   Fri May 15 21:32:09 2009 +0300

    add missing file
---
 src/fetch.h                           |   33 +++++++++++++++++++++++++++++++++
 src/network-soup.c                    |    6 +++---
 src/org-gnome-evolution-rss.eplug.xml |    4 ++--
 3 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/src/fetch.h b/src/fetch.h
new file mode 100644
index 0000000..71d3962
--- /dev/null
+++ b/src/fetch.h
@@ -0,0 +1,33 @@
+/*  Evolution RSS Reader Plugin
+ *  Copyright (C) 2007-2009 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
+ *
+ * vim: tabstop=4 shiftwidth=4 noexpandtab :
+ */
+
+#ifndef _FETCH_H_
+#define _FETCH_H_ 1
+
+GString *fetch_blocking(gchar *url, GSList *headers, GString *post,
+                  NetStatusCallback cb, gpointer data,
+                  GError **err);
+
+gboolean fetch_unblocking(gchar *url, NetStatusCallback cb, gpointer data,
+                                gpointer cb2, gpointer cbdata2,
+                                guint track,
+                                GError **err);
+#endif
+
diff --git a/src/network-soup.c b/src/network-soup.c
index 81c142e..f397173 100644
--- a/src/network-soup.c
+++ b/src/network-soup.c
@@ -211,8 +211,7 @@ proxify_webkit_session(EProxy *proxy, gchar *uri)
 		break;
 		g_object_set (G_OBJECT (webkit_session), SOUP_SESSION_PROXY_URI, proxy_uri, NULL);
 	case 0:
-		if (rss_soup_jar)
-			soup_session_add_feature_by_type (webkit_session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
+		soup_session_add_feature_by_type (webkit_session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
 		break;
 	}
 
@@ -237,7 +236,8 @@ proxify_session(EProxy *proxy, SoupSession *session, gchar *uri)
 
 	/*avail only for > 2.26*/
 	case 0:
-		soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
+		if (rss_soup_jar)
+			soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
 		break;
 	}
 
diff --git a/src/org-gnome-evolution-rss.eplug.xml b/src/org-gnome-evolution-rss.eplug.xml
index e0983e0..5df17f1 100644
--- a/src/org-gnome-evolution-rss.eplug.xml
+++ b/src/org-gnome-evolution-rss.eplug.xml
@@ -42,9 +42,9 @@ HTML can be displayed using the following engines: gtkHTML, Apple's Webkit or Fi
         	<event type="pass" target="folder" id="folder.customicon" handle="org_gnome_cooly_folder_icon"/>
 	</hook>
 
-<!--	<hook class="org.gnome.evolution.mail.events:1.0">
+	<hook class="org.gnome.evolution.mail.events:1.0">
         	<event type="pass" target="folder" id="folder.refresh" handle="org_gnome_cooly_folder_refresh"/>
-	</hook>-->
+	</hook>
 
 	<hook class="org.gnome.evolution.mail.format:1.0">
       <group id="EMFormatHTMLDisplay">



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