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

Bug#328158: akregator forgets custom fetch intervals between sessions



Package: akregator
Version: 1.0-beta10-1

akregator 1.0-beta10-1 fails to mark "Use custom fetch intervals"
checkboxes as checked when it is restarted.  All feeds using custom fetch
intervals have to be edited manually on each restart to turn the custom
intervals back on.

The attached patch corrects this; it is based on a slightly munged patch
included in the discussion of upstream bug 97986:

http://bugs.kde.org/show_bug.cgi?id=97986

FWIW, the above fix seems to have been committed just after the
upstream release of 1.0-beta10.

Please consider incorporating this patch into the next update for
akregator.


Thanks!


Richard Hosker
richard.hosker@nukote.com


--- akregator/src/feed.cpp.dist	2005-02-16 11:37:57.000000000 -0600
+++ akregator/src/feed.cpp	2005-09-10 13:55:28.000000000 -0500
@@ -62,7 +62,7 @@
         
         QString xmlUrl = e.hasAttribute("xmlUrl") ? e.attribute("xmlUrl") : e.attribute("xmlurl");
 
-        bool useCustomFetchInterval = e.attribute("y") == "true";
+        bool useCustomFetchInterval = e.attribute("autoFetch") == "true";
         
         QString htmlUrl = e.attribute("htmlUrl");
         QString description = e.attribute("description");

Reply to: