evolution-rss r230 - trunk/src



Author: lucilanga
Date: Wed Mar 26 09:23:35 2008
New Revision: 230
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=230&view=rev

Log:
fix no feeds enabled

Modified:
   trunk/src/rss.c

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Wed Mar 26 09:23:35 2008
@@ -212,26 +212,6 @@
 
 /*======================================================================*/
 
-static void
-hash_check_value(gpointer key, gpointer value, gpointer user_data)
-{
-	if (value) rf->fe = 1;
-}
-
-gboolean
-feeds_enabled(void)
-{
-	gboolean res = 0;
-	rf->fe = 0;
-	g_hash_table_foreach(rf->hre, hash_check_value, NULL);
-	if (rf->fe)
-	{
-		res = rf->fe;
-		rf->fe = 0;
-	}
-	return res;
-}
-
 gpointer
 lookup_key(gpointer key)
 {
@@ -2775,15 +2755,7 @@
 		taskbar_push_message(_("No RSS feeds configured!"));
                 return;
         }
-	if (!feeds_enabled())
-	{
-                e_error_run(NULL,
-			"org-gnome-evolution-rss:feederr",
-			_("No RSS feeds enabled!"),
-			_("Go to Edit->Preferences->News & Blogs to enable feeds."),
-			NULL);
-                return;
-	}
+
 	readrss_dialog = e_error_new(NULL, 
 		"org-gnome-evolution-rss:readrss",
                 _("Reading RSS feeds..."),



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