[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/news/package/contents
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-04-24 2:13:10
Message-ID: 20110424021310.86717AC866 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1228971 by sebas:

Fix multiple Feeds

 M  +1 -1      config/main.xml  
 M  +2 -1      ui/main.qml  


--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/contents/config/main.xml \
#1228970:1228971 @@ -8,7 +8,7 @@
   <group name="General">
     <entry name="feeds" type="String">
       <label>list of feeds</label>
-      <default>http://planetkde.org/rss20.xml</default>
+      <default>http://planetkde.org/rss20.xml,http://dot.kde.org/rss.xml</default>
     </entry>
   </group>
 
--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/main.qml \
#1228970:1228971 @@ -46,9 +46,10 @@
     function configChanged()
     {
         source = plasmoid.readConfig("feeds")
+
         var sourceString = new String(source)
         print("Configuration changed: " + source);
-        feedSource.connectedSources = source
+        feedSource.connectedSources = source.split(",")
     }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic