Author: adrian
Date: Sun Feb 28 13:07:13 2010
New Revision: 8600

URL: http://svn.slimdevices.com/jive?rev=8600&view=rev
Log:
Bug: N/A
Description: swap the order of Update and Remove menu items so update is at the 
top

Modified:
    
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua

Modified: 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua?rev=8600&r1=8599&r2=8600&view=diff
==============================================================================
--- 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
 (original)
+++ 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
 Sun Feb 28 13:07:13 2010
@@ -314,17 +314,6 @@
        menu:setHeaderWidget(Textarea("help_text", desc))
 
        -- status may be INSTALL, INSTALLED, REINSTALL, UPDATES
-       if status == "INSTALLED" or status == "UPDATES" then
-               local current = self:getSettings()[entry.name]
-               items[#items+1] = {
-                       text  = tostring(self:string("REMOVE")) .. " : " .. 
current,
-                       sound = "WINDOWSHOW",
-                       callback = function(event, menuItem)
-                                                  self.toremove[entry.name] = 1
-                                                  self:action()
-                                          end,
-               }
-       end
        if status == "UPDATES" then
                items[#items+1] = {
                        text  = tostring(self:string("UPDATE")) .. " : " .. 
entry.version,
@@ -337,6 +326,17 @@
                        
                }
        end
+       if status == "INSTALLED" or status == "UPDATES" then
+               local current = self:getSettings()[entry.name]
+               items[#items+1] = {
+                       text  = tostring(self:string("REMOVE")) .. " : " .. 
current,
+                       sound = "WINDOWSHOW",
+                       callback = function(event, menuItem)
+                                                  self.toremove[entry.name] = 1
+                                                  self:action()
+                                          end,
+               }
+       end
        if status == "INSTALL" or status == "REINSTALL" then
                items[#items+1] = {
                        text  = tostring(self:string(status)) .. " : " .. 
entry.version,

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

Reply via email to