From 448275a3865d1db82a6fc37d60548da8b865e5e0 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 2 Apr 2010 01:08:12 +0200 Subject: widgets: reuse existing datasets where appropriate Gmail, mbox, raid, weather and wifi could return the old value in case there isn't new data, no need for N/A to be so common on our wibox. --- widgets/org.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/org.lua') diff --git a/widgets/org.lua b/widgets/org.lua index e6c622e..2d563b2 100644 --- a/widgets/org.lua +++ b/widgets/org.lua @@ -28,7 +28,7 @@ local function worker(format, warg) local soon = today + 24 * 3600 * 3 -- 3 days ahead is close local future = today + 24 * 3600 * 7 -- 7 days ahead is maximum - -- Initialise counters + -- Initialize counters local count = { past = 0, today = 0, soon = 0, future = 0 } -- Get data from agenda files -- cgit v1.2.3