Author: bklaas
Date: Wed Nov 19 08:50:11 2008
New Revision: 3406
URL: http://svn.slimdevices.com?rev=3406&root=Jive&view=rev
Log:
Bug: 10069
Description: add better EN string for popup
increase timer for hiding popup from 5 to 10 seconds
don't show popup if a player has already been added to the menu
hide popup after first player is found and added to the menu
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/SelectPlayerApplet.lua
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/strings.txt
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/SelectPlayerApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/SelectPlayerApplet.lua?rev=3406&root=Jive&r1=3405&r2=3406&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/SelectPlayerApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/SelectPlayerApplet.lua
Wed Nov 19 08:50:11 2008
@@ -235,6 +235,12 @@
if self.selectedPlayer == player then
self.playerMenu:setSelectedItem(item)
end
+
+ -- we already have a player in the menu, set a flag to not use the
scanning popup
+ self.playersFound = true
+ -- and hide it if it's already on screen
+ self:_hidePopulatingPlayersPopup()
+
end
@@ -342,9 +348,11 @@
window:addTimer(5000, function()
self:_scan()
+ end)
+
+ window:addTimer(10000, function()
self:_hidePopulatingPlayersPopup()
end)
-
window:addListener(EVENT_WINDOW_ACTIVE,
function()
@@ -371,8 +379,7 @@
function _showPopulatingPlayersPopup(self, timer)
- if self.populatingPlayers then
- -- don't open this popup twice or when firmware update windows
are on screen
+ if self.populatingPlayers or self.playersFound then
return
end
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/strings.txt
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/strings.txt?rev=3406&root=Jive&r1=3405&r2=3406&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/strings.txt
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SelectPlayer/strings.txt
Wed Nov 19 08:50:11 2008
@@ -62,7 +62,7 @@
SEARCHING
DA Søger...
DE Suchvorgang läuft ...
- EN Searching...
+ EN Scanning for Players...
ES Buscando...
FI Etsitään...
FR Recherche en cours...
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins