From: Kaj-Michael Lang Date: Tue, 4 Mar 2008 14:58:58 +0000 (+0200) Subject: Add debug output for quick poi button icon setter. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47036d1df13ef3edfbeb71d39787bc57717372d6;p=mapper Add debug output for quick poi button icon setter. --- 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); } }