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/72556c9cd181c7cc269fdd164c09d8059684f431?ds=sidebyside 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)