kdepim (4:4.4.7-3) 30_debianize_akregator_default.diff

Summary

 akregator/src/akregator_part.cpp |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

    
download this patch

Patch contents

Author: Ana Beatriz Guerrero Lopez <ana@debian.org>
Description: add a few Debian feeds to akregator
 Include planet debian and debian times as default in akregator
Forwarded: not-needed
Origin: vendor

--- a/akregator/src/akregator_part.cpp
+++ b/akregator/src/akregator_part.cpp
@@ -133,6 +133,20 @@ namespace {
         look.setAttribute("xmlUrl","http://www.kde.org/kde-look-content.rdf");
         mainFolder.appendChild(look);
 
+        QDomElement debianFolder = doc.createElement( "outline" );
+        debianFolder.setAttribute("text","Debian");
+        body.appendChild(debianFolder);
+
+        QDomElement pland = doc.createElement( "outline" );
+        pland.setAttribute("text",i18n("Planet Debian"));
+        pland.setAttribute("xmlUrl","http://planet.debian.org/rss20.xml");
+        debianFolder.appendChild(pland);
+
+        QDomElement dtimes = doc.createElement( "outline" );
+        dtimes.setAttribute("text",i18n("Debian News"));
+        dtimes.setAttribute("xmlUrl","http://news.debian.net/feed/");
+        debianFolder.appendChild(dtimes);
+
         return doc;
     }
 }