awesome/lib/menubar
Uli Schlachter b9d9587afa menubar: Produce better errors for broken .desktop files
This now runs parse_desktop_file in a protected context so that a single
broken desktop file does not break the whole menubar.

Also, the error message that is produced when a Lua error occurs now
also includes the file name of the .desktop file which we attempted to
parse. This should help quite a lot in debugging.

Related-to: https://github.com/awesomeWM/awesome/issues/1880
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-06-28 09:17:13 +02:00
..
icon_theme.lua menubar.icon_theme: Never use nil as icon theme name 2017-06-14 11:10:22 +02:00
index_theme.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
init.lua menubar: assert() that io.open() succeeds 2017-04-08 11:02:01 +02:00
menu_gen.lua parse_desktop_file: rtrim lines before parsing (#1677) 2017-05-25 01:22:13 +02:00
utils.lua menubar: Produce better errors for broken .desktop files 2017-06-28 09:17:13 +02:00