Author: bklaas
Date: Thu Jan 28 10:03:16 2010
New Revision: 8414

URL: http://svn.slimdevices.com/jive?rev=8414&view=rev
Log:
Bug: n/a
Description: make logging item available in Settings->Advanced->Logging, 
always. And there was much rejoicing.

Modified:
    
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/LogSettings/LogSettingsMeta.lua

Modified: 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/LogSettings/LogSettingsMeta.lua
URL: 
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/applets/LogSettings/LogSettingsMeta.lua?rev=8414&r1=8413&r2=8414&view=diff
==============================================================================
--- 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/LogSettings/LogSettingsMeta.lua
 (original)
+++ 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/LogSettings/LogSettingsMeta.lua
 Thu Jan 28 10:03:16 2010
@@ -36,23 +36,7 @@
 
 
 function registerApplet(meta)
-       -- only make this available if an SD card is slotted in and
-       -- a /media/*/log directory is present
-       local media = false
-       if lfs.attributes("/media", "mode") ~= nil then
-               for dir in lfs.dir("/media") do
-                       if lfs.attributes("/media/" .. dir .. "/log", "mode") 
== "directory" then
-                               media = true
-                               break
-                       end
-               end
-       end
-
-       local desktop = not System:isHardware()
-
-       if desktop or media then
-               jiveMain:addItem(meta:menuItem('appletLogSettings', 
'advancedSettings', 'DEBUG_LOG', function(applet, ...) applet:logSettings(...) 
end))
-       end
+       jiveMain:addItem(meta:menuItem('appletLogSettings', 'advancedSettings', 
'DEBUG_LOG', function(applet, ...) applet:logSettings(...) end))
 end
 
 

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

Reply via email to