cf3c81fa9e
This makes the code use the existing functions for setting widgets. That way, all the sanity checks that the existing functions have are applied for this code as well. I just spent half an hour tracking down a bug where a boolean ended up as a "widget" in a fixed layout. The symptom was that while drawing the widget, an error happened. Via this change, the error would instead be flagged while constructing the widget. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
background.lua | ||
base.lua | ||
imagebox.lua | ||
init.lua | ||
systray.lua | ||
textbox.lua |