mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 22:00:20 +00:00
[Theme] Make error message more verbose.
This commit is contained in:
parent
bcc1a9abe8
commit
6b3dc4a8af
1 changed files with 3 additions and 2 deletions
|
@ -1576,8 +1576,9 @@ static void rofi_theme_parse_process_links_int(ThemeWidget *wid) {
|
|||
if (pv->value.link.ref == pv) {
|
||||
char *n = rofi_theme_widget_get_name(widget);
|
||||
GString *str = g_string_new(NULL);
|
||||
g_string_printf(str, "Failed to resolve: `%s { %s: var(%s);}`", n,
|
||||
pv->name, pv->value.link.name);
|
||||
g_string_printf(
|
||||
str, "Failed to resolve variable '%s' in: `%s { %s: var(%s);}`",
|
||||
pv->value.link.name, n, pv->name, pv->value.link.name);
|
||||
|
||||
rofi_add_error_message(str);
|
||||
g_free(n);
|
||||
|
|
Loading…
Reference in a new issue