Author: bklaas
Date: Thu Jan 20 14:09:00 2011
New Revision: 9293
URL: http://svn.slimdevices.com/jive?rev=9293&view=rev
Log:
Fixed Bug: 16668
Description: make sure custom item has a node of 'home' when being added to the
home menu, so when it's removed the code follows the right path for sanely
removing it
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/CustomizeHomeMenu/CustomizeHomeMenuApplet.lua
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/CustomizeHomeMenu/CustomizeHomeMenuApplet.lua
URL:
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/CustomizeHomeMenu/CustomizeHomeMenuApplet.lua?rev=9293&r1=9292&r2=9293&view=diff
==============================================================================
---
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/CustomizeHomeMenu/CustomizeHomeMenuApplet.lua
(original)
+++
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/CustomizeHomeMenu/CustomizeHomeMenuApplet.lua
Thu Jan 20 14:09:00 2011
@@ -212,7 +212,7 @@
text = self:string('REMOVE_FROM_HOME'),
callback = function()
if theItem.node == 'home' then
-
+
self:_timedExec(
function()
jiveMain:setNode(theItem, 'hidden')
@@ -240,6 +240,7 @@
text = self:string('ADD_TO_HOME'),
callback = function()
self:getSettings()[theItem.id] = 'home'
+ theItem.node = 'home'
local homeItem =
jiveMain:addItemToNode(theItem, 'home')
jiveMain:itemToBottom(homeItem, 'home')
window:hide()
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins