awful.popup: Replace the deprecated awful.util.table with gears.table.
The popup code is older than the deprecation, but was merged after it.
This commit is contained in:
parent
cc4ebd80fe
commit
e0dac2e901
|
@ -21,7 +21,7 @@
|
||||||
-- @popupmod awful.popup
|
-- @popupmod awful.popup
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
local wibox = require( "wibox" )
|
local wibox = require( "wibox" )
|
||||||
local util = require( "awful.util" )
|
local gtable = require( "gears.table" )
|
||||||
local placement = require( "awful.placement" )
|
local placement = require( "awful.placement" )
|
||||||
local xresources= require("beautiful.xresources")
|
local xresources= require("beautiful.xresources")
|
||||||
local timer = require( "gears.timer" )
|
local timer = require( "gears.timer" )
|
||||||
|
@ -441,7 +441,7 @@ local function create_popup(_, args)
|
||||||
enable_properties = true
|
enable_properties = true
|
||||||
})
|
})
|
||||||
|
|
||||||
util.table.crush(ii, main_widget, true)
|
gtable.crush(ii, main_widget, true)
|
||||||
|
|
||||||
-- Create a wibox to host the widget
|
-- Create a wibox to host the widget
|
||||||
local w = wibox(args or {})
|
local w = wibox(args or {})
|
||||||
|
@ -453,7 +453,7 @@ local function create_popup(_, args)
|
||||||
widget = child_widget
|
widget = child_widget
|
||||||
})
|
})
|
||||||
|
|
||||||
util.table.crush(w, popup)
|
gtable.crush(w, popup)
|
||||||
|
|
||||||
ii:set_widget(child_widget)
|
ii:set_widget(child_widget)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue