Calendar: add hide() method
This commit is contained in:
parent
65b9eba74e
commit
0fd3b2620c
|
@ -219,6 +219,10 @@ function calendar:show()
|
|||
self.wibox.visible = true
|
||||
end
|
||||
|
||||
function calendar:hide()
|
||||
self.wibox.visible = false
|
||||
end
|
||||
|
||||
function calendar:update_before_showing()
|
||||
if not self.wibox.visible then
|
||||
self:now()
|
||||
|
|
Loading…
Reference in a new issue