Author: bklaas
Date: Mon Jan 21 21:44:15 2008
New Revision: 1547

URL: http://svn.slimdevices.com?rev=1547&root=Jive&view=rev
Log:
Bug: 5804
Description: full screen animation when search is in progress

Modified:
    
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua

Modified: 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=1547&root=Jive&r1=1546&r2=1547&view=diff
==============================================================================
--- 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua 
(original)
+++ 
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua 
Mon Jan 21 21:44:15 2008
@@ -605,6 +605,16 @@
                sink(step, chunk, err)
        end
 end
+
+-- _searchInProgress
+-- full screen popup that appears until search is complete
+local function _searchInProgress(self)
+       local popup = Popup("popupIcon")
+       local icon  = Icon("iconConnecting")
+       popup:addWidget(icon)
+       popup:show()
+end
+
 
 -- _connectingToPlayer
 -- full screen popup that appears until menus are loaded
@@ -1381,10 +1391,8 @@
                                style = "albumcurrent"
                        elseif item and item["style"] then
                                style = item["style"]
-log:warn(style)
-                       end
-
-log:warn(style)
+                       end
+
                        widgets[widgetIndex] = _decoratedLabel(widget, style, 
item, db, menuAccel)
                end
        end
@@ -1502,6 +1510,8 @@
                                _lastInput = value
                                item['_inputDone'] = value
                                
+                               -- popup time
+                               _searchInProgress(self)
                                -- now we should perform the action !
                                _actionHandler(nil, nil, db, nil, nil, 'go', 
item)
                                -- close the text input if this is a "do"

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

Reply via email to