From 47036d1df13ef3edfbeb71d39787bc57717372d6 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 4 Mar 2008 16:58:58 +0200 Subject: [PATCH] Add debug output for quick poi button icon setter. --- src/poi-gui.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/poi-gui.c b/src/poi-gui.c index 691efac..82f1148 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -1029,10 +1029,13 @@ iname=poi_get_icon_from_type(t); if (iname) icon=poi_get_icon(iname, TRUE); if (icon) { + g_debug("Got button icon %s", iname); gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_pixbuf(icon)); #if GTK_CHECK_VERSION(2,10,0) gtk_button_set_image_position(GTK_BUTTON(button), GTK_POS_TOP); #endif +} else { + g_debug("No button icon for %s", iname); } } -- 2.39.5