Author: bklaas
Date: Thu Aug 26 13:17:08 2010
New Revision: 9069

URL: http://svn.slimdevices.com/jive?rev=9069&view=rev
Log:
Fixed Bug: 16481
Description: Screensaver timer is restarted when the SS window is exited. In 
the case of "none", there is no SS so the timer is never restarted.
Therefore, when moving from "None" to any other SS in the settings window, it 
is important to restart the timer at this time.

This is fixed in 7.6, but can be backported to 7.5 as seen fit.

Modified:
    
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/ScreenSavers/ScreenSaversApplet.lua

Modified: 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/ScreenSavers/ScreenSaversApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/ScreenSavers/ScreenSaversApplet.lua?rev=9069&r1=9068&r2=9069&view=diff
==============================================================================
--- 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/ScreenSavers/ScreenSaversApplet.lua
 (original)
+++ 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/ScreenSavers/ScreenSaversApplet.lua
 Thu Aug 26 13:17:08 2010
@@ -719,7 +719,11 @@
        menu:setHeaderWidget(Textarea("help_text", self:string(token)))
        window:addWidget(menu)
 
-       window:addListener(EVENT_WINDOW_POP, function() self:storeSettings() 
end)
+       window:addListener(EVENT_WINDOW_POP, function() 
+                       -- we may be moving off of false:false here, so when we 
leave this window, restart the SS timer
+                       self:restartScreenSaverTimer()
+                       self:storeSettings() 
+       end)
 
        self:tieAndShowWindow(window)
        return window

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to