Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > a572e5bc7ccccdda553520b461b8b872 > files > 3

plasma-wallpaper-timeoftheday-0.1-7.mga3.src.rpm

Index: timeofthedaywallpaper.cpp
===================================================================
--- timeofthedaywallpaper.cpp
+++ timeofthedaywallpaper.cpp	2010-05-19 23:27:29.000000000 +0200
@@ -171,7 +171,11 @@
 
         int duration = currentEvent.duration - keyEvent.secsTo(m_currentTime);
 
-        m_transitionFrames = duration / 2;
+        m_transitionFrames = duration / 30;
+        if ( m_transitionFrames < 1 ) {
+          m_transitionFrames = 1 ;
+        }
+
         m_transitionDuration = duration * 1000;
         m_transitionWallpaper = toWallpaper;