diff options
author | Dave Davenport <qball@blame.services> | 2022-06-01 16:51:34 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-06-01 16:51:48 +0200 |
commit | c7776ce9b7fe1bf3f3df1a1ff146fcb7ec830866 (patch) | |
tree | 4dd3dbb44f2a58866016e60dc5b6c936fc40feb3 /source/theme.c | |
parent | b891ffa2b3cfbc9dbd7a494bcb7bafd0b6cfa8fe (diff) |
[Theme] Improve error mesg on failed variable.
Diffstat (limited to 'source/theme.c')
-rw-r--r-- | source/theme.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/theme.c b/source/theme.c index 3a9a19b8..11bd0509 100644 --- a/source/theme.c +++ b/source/theme.c @@ -1578,9 +1578,11 @@ 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 variable '%s' in: `%s { %s: var(%s);}`", - pv->value.link.name, n, pv->name, pv->value.link.name); + g_string_printf(str, + "Validating the theme failed: the variable '%s' in " + "`%s { %s: var(%s);}` failed to resolve.", + pv->value.link.name, n, pv->name, + pv->value.link.name); rofi_add_error_message(str); g_free(n); |