titlebar: Use _private
This commit is contained in:
parent
5a0f7b7efe
commit
584a48db2f
|
@ -204,8 +204,8 @@ function titlebar.widget.button(c, name, selector, action)
|
|||
local ret = imagebox()
|
||||
|
||||
if titlebar.enable_tooltip then
|
||||
ret.tooltip = atooltip({ objects = {ret}, delay_show = 1 })
|
||||
ret.tooltip:set_text(name)
|
||||
ret._private.tooltip = atooltip({ objects = {ret}, delay_show = 1 })
|
||||
ret._private.tooltip:set_text(name)
|
||||
end
|
||||
|
||||
local function update()
|
||||
|
|
Loading…
Reference in New Issue