Author: bklaas
Date: Mon Apr 21 11:38:56 2008
New Revision: 2302

URL: http://svn.slimdevices.com?rev=2302&root=Jive&view=rev
Log:
Bug: 6349
Description: move the hidePopup local functions above any place where they are 
(or may be) called. In Lua you need to define a local function above any place 
it's called.

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

Modified: 
7.0/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/7.0/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=2302&root=Jive&r1=2301&r2=2302&view=diff
==============================================================================
--- 
7.0/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 (original)
+++ 
7.0/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 Mon Apr 21 11:38:56 2008
@@ -487,6 +487,37 @@
        popup:show()
 end
 
+-- _hideConnectingToPlayer
+-- hide the full screen popup that appears until menus are loaded
+local function _hideConnectingToPlayer()
+       if _connectingPopup then
+               log:info("_connectingToPlayer popup hide")
+               _connectingPopup:hide()
+               _connectingPopup = nil
+       end
+end
+
+-- _hideUserUpdatePopup
+-- hide the full screen popup that appears until player is updated
+local function _hideUserUpdatePopup()
+       if _userUpdatePopup then
+               log:info("_userUpdatePopup popup hide")
+               _userUpdatePopup:hide()
+               _userUpdatePopup = false
+       end
+end
+
+
+-- _hidePlayerUpdating
+-- hide the full screen popup that appears until player is updated
+local function _hidePlayerUpdating()
+       if _updatingPlayerPopup then
+               log:info("_updatingPlayer popup hide")
+               _updatingPlayerPopup:hide()
+               _updatingPlayerPopup = false
+       end
+end
+
 
 -- _connectingToPlayer
 -- full screen popup that appears until menus are loaded
@@ -618,38 +649,6 @@
        popup:show()
 
        _updatingPlayerPopup = popup
-end
-
-
--- _hideConnectingToPlayer
--- hide the full screen popup that appears until menus are loaded
-local function _hideConnectingToPlayer()
-       if _connectingPopup then
-               log:info("_connectingToPlayer popup hide")
-               _connectingPopup:hide()
-               _connectingPopup = nil
-       end
-end
-
--- _hideUserUpdatePopup
--- hide the full screen popup that appears until player is updated
-local function _hideUserUpdatePopup()
-       if _userUpdatePopup then
-               log:info("_userUpdatePopup popup hide")
-               _userUpdatePopup:hide()
-               _userUpdatePopup = false
-       end
-end
-
-
--- _hidePlayerUpdating
--- hide the full screen popup that appears until player is updated
-local function _hidePlayerUpdating()
-       if _updatingPlayerPopup then
-               log:info("_updatingPlayer popup hide")
-               _updatingPlayerPopup:hide()
-               _updatingPlayerPopup = false
-       end
 end
 
 -- _bigArtworkPopup

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

Reply via email to