widget.cal: fix calendar icons not displaying; closes #410
This commit is contained in:
parent
448d0b1be9
commit
4f3babced7
2 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@ local function factory(args)
|
||||||
strx = string.format("%s%s", string.rep(" ", 3 - tostring(x):len()), strx)
|
strx = string.format("%s%s", string.rep(" ", 3 - tostring(x):len()), strx)
|
||||||
notifytable[#notifytable+1] = string.format("%-4s%s", strx, (x+st_day)%7==0 and x ~= mth_days and "\n" or "")
|
notifytable[#notifytable+1] = string.format("%-4s%s", strx, (x+st_day)%7==0 and x ~= mth_days and "\n" or "")
|
||||||
end
|
end
|
||||||
|
if string.len(cal.icons or "") > 0 and today then cal.icon = cal.icons .. today .. ".png" end
|
||||||
cal.month, cal.year = d.month, d.year
|
cal.month, cal.year = d.month, d.year
|
||||||
return notifytable
|
return notifytable
|
||||||
end
|
end
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit e6118121ad7e2c2a6d7a846e1ffc3762a42d5fe1
|
Subproject commit 7c3a5bfba6e779a86169a6cbb1eaf20bf19627f7
|
Loading…
Add table
Reference in a new issue