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

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui
From:       Lukas Appelhans <l.appelhans () gmx ! de>
Date:       2010-12-10 19:52:34
Message-ID: 20101210195234.B81A5AC8A6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1205302 by lappelhans:

Fix some flicking stuff


 M  +5 -2      main.qml  


--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui/main.qml \
#1205301:1205302 @@ -30,7 +30,6 @@
 
     property string source
     property variant individualSources
-    signal unreadCountChanged();
 
     Component.onCompleted: {
         plasmoid.addEventListener('ConfigChanged', configChanged);
@@ -103,12 +102,16 @@
                         }
                         delegate: ListItemEntry {
                             id: listEntry
-                            text: title+individualSources[listIndex]
+                            text: title//+individualSources[listIndex]
                             iconFile: icon
                         }
+                        
+                        onFlickEnded: {
+                            currentIndex = contentX / contentWidth * count
                     }
                 }
             }
         }
     }
 }
+}


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

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