titlebar: Use _private

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-30 23:09:50 -04:00
parent 5a0f7b7efe
commit 584a48db2f
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ function titlebar.widget.button(c, name, selector, action)
local ret = imagebox() local ret = imagebox()
if titlebar.enable_tooltip then if titlebar.enable_tooltip then
ret.tooltip = atooltip({ objects = {ret}, delay_show = 1 }) ret._private.tooltip = atooltip({ objects = {ret}, delay_show = 1 })
ret.tooltip:set_text(name) ret._private.tooltip:set_text(name)
end end
local function update() local function update()