summaryrefslogtreecommitdiff
path: root/pager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pager.lua')
-rw-r--r--pager.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/pager.lua b/pager.lua
index 23c28df..7bb4e97 100644
--- a/pager.lua
+++ b/pager.lua
@@ -29,7 +29,7 @@ function Page:update()
local fg_focus = beautiful.fg_focus or "#000000"
local tb = wibox.widget.textbox(text, true)
- local bg = wibox.widget.background(tb, bg)
+ local bg = wibox.container.background(tb, bg)
tb:set_font(font)
@@ -60,11 +60,11 @@ function Page:new(tag, index, width, height, pager)
local client_container = wibox.layout.flex.vertical()
local border_width = beautiful.border_width or 1
- local margin = wibox.layout.margin(client_container)
+ local margin = wibox.container.margin(client_container)
margin:set_top(border_width)
margin:set_bottom(border_width)
- ret.widget = wibox.layout.constraint(margin, 'exact', width, height)
+ ret.widget = wibox.container.constraint(margin, 'exact', width, height)
ret.client_container = client_container
ret.border = margin
@@ -110,7 +110,7 @@ local function pager_set_desktop(self, desktop)
title:set_align("center")
local title_bg = beautiful.bg_focus or "#ffffff"
local title_fg = beautiful.fg_focus or "#000000"
- local title_container = wibox.widget.background(title, title_bg)
+ local title_container = wibox.container.background(title, title_bg)
title_container:set_fg(title_fg)
desktop:connect_signal("desktop:name",