icontheme: Add detail to the 'not found' message

Name the icon theme we're using.

Fixes: #2271
This commit is contained in:
Matthias Clasen
2021-06-04 09:47:26 -04:00
parent 8f95661167
commit a4598567b9

View File

@@ -2269,7 +2269,7 @@ real_choose_icon (GtkIconTheme *self,
{
GTK_NOTE(ICONFALLBACK, {
char *s = g_strjoinv (", ", (char **)icon_names);
g_message ("No icon found for: %s", s);
g_message ("No icon found in %s (or fallbacks) for: %s", self->current_theme, s);
g_free (s);
});
icon = icon_paintable_new ("image-missing", size, scale);