Author: adrian
Date: Thu Nov  6 14:09:57 2008
New Revision: 3304

URL: http://svn.slimdevices.com?rev=3304&root=Jive&view=rev
Log:
Bug: N/A
Description: add animation while downloading applet list

Modified:
    
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
    
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/strings.txt

Modified: 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua?rev=3304&root=Jive&r1=3303&r2=3304&view=diff
==============================================================================
--- 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
 (original)
+++ 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
 Thu Nov  6 14:09:57 2008
@@ -92,11 +92,23 @@
                )
        end
 
-       self:tieAndShowWindow(self.window)
+       -- create animiation to show while we get data from the server
+       local popup = Popup("popupIcon")
+       local icon  = Icon("iconConnecting")
+       local label = Label("text", self:string("APPLET_FETCHING"))
+       popup:addWidget(icon)
+       popup:addWidget(label)
+       self:tieAndShowWindow(popup)
+
+       self.popup = popup
 end
 
 
 function menuSink(self, data)
+
+       self:tieWindow(self.window)
+       self.popup:hide()
+       self.window:show()
 
        self.help = Textarea("help", self:string("HELP"))
        self.menu = SimpleMenu("menu")

Modified: 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/strings.txt
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/strings.txt?rev=3304&root=Jive&r1=3303&r2=3304&view=diff
==============================================================================
--- 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/strings.txt
 (original)
+++ 
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/strings.txt
 Thu Nov  6 14:09:57 2008
@@ -9,6 +9,9 @@
        NL      Appletinstallatieprogr.
        NO      Installering av tilleggsprogrammer
        SV      Installationsprogram för appletprogram
+
+APPLET_FETCHING
+       EN      Fetching Applet List
 
 INSTALL
        DA      Installer

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

Reply via email to