diff UI.lua @ 38:d432f49e340e v2.0-beta-r38

remove prints
author Nenue
date Sun, 27 Dec 2015 08:35:28 -0500
parents bec37163b7fe
children 02e4a69afad5
line wrap: on
line diff
--- a/UI.lua	Sun Dec 27 08:24:27 2015 -0500
+++ b/UI.lua	Sun Dec 27 08:35:28 2015 -0500
@@ -210,11 +210,11 @@
           f.enabled = nil
           f:Hide()
           f:Save()
-        end },
+        end },--[[
       {
         text = "Dock",
         value = "OptDock",
-        func = function() print('Dvn', 'docking shenanary') end }
+        func = function() print('Dvn', 'docking shenanary') end }]]
     }
     for _, v in ipairs(info) do
       UIDropDownMenu_AddButton(v)
@@ -247,7 +247,7 @@
   local t_info = {}
   local channel, isNew, id, sig, t_id
   --@debug@
-  print('setchan(0) cinfo, key', cinfo, key)--@end-debug@
+  --print('setchan(0) cinfo, key', cinfo, key)--@end-debug@
   -- obtain source data
   if tonumber(key) ~= nil and  db.channels[key] then
     id = tonumber(key)
@@ -261,7 +261,7 @@
   t_id = id           -- overridden later if new
   t_info.index = t_id --
   --@debug@
-  print('setchan(1) cinfo, key, id=', cinfo, key, id)--@end-debug@
+  --print('setchan(1) cinfo, key, id=', cinfo, key, id)--@end-debug@
 
 
   -- obtain config info
@@ -279,7 +279,7 @@
   end
   t_info.signature = sig
   --@debug@
-  print('setchan(2) sig,id,isNew=', sig, id, isNew)--@end-debug@
+  --print('setchan(2) sig,id,isNew=', sig, id, isNew)--@end-debug@
 
   for k,v in pairs(cinfo) do -- allow all cinfo to pass
   t_info[k] = v
@@ -307,10 +307,10 @@
     t_id = self.max_channel + 1
     t_info.index = t_id
     --@debug@
-    print('setchan(3a) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@
+    --print('setchan(3a) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@
   else
     --@debug@
-    print('setchan(3b) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@
+    --print('setchan(3b) t_id, isNew, sig, t_info.signature=', t_id, isNew, sig, t_info.signature)--@end-debug@
   end
 
   local channel
@@ -322,7 +322,7 @@
     t_info.y = t_info.y - 20
     db.channels[t_id] = t_info
     --@debug@
-    print('setchan(4a)', 't_id, x, y=', t_id, t_info.x, t_info.y)--@end-debug@
+    --print('setchan(4a)', 't_id, x, y=', t_id, t_info.x, t_info.y)--@end-debug@
   end
   channel = CreateConsole(t_id, t_info)
   self.console[t_id] = channel
@@ -339,10 +339,10 @@
   end
 
   if channel.enabled and db.enabled then -- hide or show last since Min/Max mess with visibility
-  print('setchan(5a) enable')
+  --print('setchan(5a) enable')
   channel:Show()
   else
-    print('setchan(5a) disable')
+    --print('setchan(5a) disable')
     channel:Hide()
   end
   --@debug@