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

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/news/package
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-04-24 0:26:59
Message-ID: 20110424002659.86656AC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1228965 by sebas:

use theme.stylesheet to style the page

 M  +1 -1      contents/ui/ComplexComponents/ItemsList.qml  
 M  +1 -1      platformcontents/meego/generic/ui/MeegoComponents/PostsList.qml  


--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/contents/ui/ComplexComponents/ItemsList.qml \
#1228964:1228965 @@ -86,7 +86,7 @@
 
             list.currentIndex = index
             bodyView.articleUrl = link
-            bodyView.articleHtml = "<body \
style=\"background:#fff;\">"+description+"</body>" +            bodyView.articleHtml \
= "<html><head><style type=\"text/css\">" + theme.stylesheet + \
"</style></head><body>" + description + "</body></html>"  list.itemClicked()
         }
     }
--- trunk/playground/base/plasma/declarative-applets/replacements/news/package/platformcontents/meego/generic/ui/MeegoComponents/PostsList.qml \
#1228964:1228965 @@ -62,7 +62,7 @@
             BookKeeping.setArticleRead(link, feed_url);
             opacity = 0.5;
 
-            currentBody = "<body \
style=\"background:#fff;\">"+model.description+"</body>"; +            currentBody = \
"<html><head><style type=\"text/css\">" + theme.stylesheet + "</style></head><body>" \
+ model.description + "</body></html>";  currentTitle = model.title
             currentUrl = model.link
             mainWindow.nextPage(browserPage);


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

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