[gnome-control-center] shell: Print the name of the missing icon
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Print the name of the missing icon
- Date: Mon, 3 Dec 2012 13:58:09 +0000 (UTC)
commit ae247737403d2a0f262eb38cbc6397c65f24e4f9
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 3 14:57:42 2012 +0100
shell: Print the name of the missing icon
shell/cc-shell-model.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/shell/cc-shell-model.c b/shell/cc-shell-model.c
index fce7fee..08bcaa8 100644
--- a/shell/cc-shell-model.c
+++ b/shell/cc-shell-model.c
@@ -58,7 +58,11 @@ load_pixbuf_for_gicon (GIcon *icon)
}
else
{
- g_warning ("Could not find icon");
+ char *name;
+
+ name = g_icon_to_string (icon);
+ g_warning ("Could not find icon '%s'", name);
+ g_free (name);
}
return pixbuf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]