aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-01 23:15:09 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-01 23:15:09 +0200
commit047dba0e5d3aeedd7498c05135a924b980660d3e (patch)
treea544b184b52da726f296229fc7e3dd93b7663e47 /init.lua
parentcad950a838f027af7d1a569d25932f587f9ee040 (diff)
downloadvicious-legacy-047dba0e5d3aeedd7498c05135a924b980660d3e.tar.xz
Next release, version/tag 1.0.5.v1.0.5
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index ceab092..d70324b 100644
--- a/init.lua
+++ b/init.lua
@@ -76,10 +76,10 @@ for w, i in pairs(_M) do
if i and i ~= _M and type(i) == "table" then
-- Ignore the function table and helpers
if w ~= "widgets" and w ~= "helpers" then
- -- Place functions in the namespace table
- widgets[w] = i.worker
+ -- Place widgets in the namespace table
+ widgets[w] = i
-- Enable caching for all widget types
- widget_cache[i.worker] = {}
+ widget_cache[i] = {}
end
end
end