Author: titmuss
Date: Tue Jul  8 03:26:38 2008
New Revision: 2672

URL: http://svn.slimdevices.com?rev=2672&root=Jive&view=rev
Log:
Bug: N/A
Description:
Add user feedback to the "Try Again" option when the Controller is having 
trouble connecting to SC.


Modified:
    
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua

Modified: 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=2672&root=Jive&r1=2671&r2=2672&view=diff
==============================================================================
--- 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 (original)
+++ 
7.1/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 Tue Jul  8 03:26:38 2008
@@ -2271,6 +2271,11 @@
                return
        end
 
+       self:_problemConnectingPopup(server)
+end
+
+
+function _problemConnectingPopup(self, server)
        -- attempt to reconnect, this may send WOL
        server:wakeOnLan()
        server:connect()
@@ -2308,10 +2313,12 @@
        menu:addItem({
                             text = self:string("SLIMBROWSER_TRY_AGAIN"),
                             callback = function()
-                                               server:wakeOnLan()
-                                               server:connect()
+                                               window:hide()
+
+                                               
self:_problemConnectingPopup(server)
                                                
appletManager:callService("setCurrentPlayer", player)
                                        end,
+                            sound = "WINDOWSHOW",
                     })
 
        if server:isPasswordProtected() then
@@ -2322,6 +2329,7 @@
                                local auth = 
appletManager:loadApplet("HttpAuth")
                                auth:squeezeCenterPassword(server)
                        end,
+                       sound = "WINDOWSHOW",
                })
        end
 
@@ -2335,6 +2343,7 @@
                                                        local setupSqueezebox = 
appletManager:loadApplet("SetupSqueezebox")
                                                        
setupSqueezebox:startSqueezeboxSetup(player:getMacAddress(), nil)
                                                end,
+                                    sound = "WINDOWSHOW",
                             })
        end
 
@@ -2349,6 +2358,7 @@
                                                        local selectPlayer = 
appletManager:loadApplet("SelectPlayer")
                                                        selectPlayer:setupShow()
                                                end,
+                                    sound = "WINDOWSHOW",
                             })
        end
 

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

Reply via email to