From: aajjbb Date: Sat, 11 Jul 2015 17:19:12 +0000 (-0300) Subject: fixing small typo in fs widget which lead to nil reference X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7af06fff37b5da6ff625e7c1f39306fe7cc04a91?hp=6457c4d2c3aebf318a53489189cb638c00d291be fixing small typo in fs widget which lead to nil reference --- diff --git a/widgets/fs.lua b/widgets/fs.lua index fab61bd..951f0cc 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -106,8 +106,8 @@ local function worker(args) end end - widget:connect_signal('mouse::enter', function () fs:show(0) end) - widget:connect_signal('mouse::leave', function () fs:hide() end) + fs.widget:connect_signal('mouse::enter', function () fs:show(0) end) + fs.widget:connect_signal('mouse::leave', function () fs:hide() end) helpers.newtimer(partition, timeout, update)