[gtk/matthiasc/for-master: 5/5] icontheme: Add detail to the 'not found' message
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/5] icontheme: Add detail to the 'not found' message
- Date: Fri, 4 Jun 2021 13:49:27 +0000 (UTC)
commit a4598567b9dd231b3bfd885bc59fdf453afe7433
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 4 09:47:26 2021 -0400
icontheme: Add detail to the 'not found' message
Name the icon theme we're using.
Fixes: #2271
gtk/gtkicontheme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index c0b33c6761..208c36d715 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]