--- trunk/src/cache.c 2009/11/12 14:58:16 177 +++ trunk/src/cache.c 2009/11/12 19:58:26 178 @@ -19,6 +19,7 @@ #include "gpxview.h" #include +#include static GtkWidget *cache_description(appdata_t *appdata, cache_t *cache) { return html_view(appdata, cache->long_description, @@ -512,9 +513,14 @@ static const char *tb_type = "track/details.aspx"; /* --------------------- icon/ref/name -------------------------*/ - gtk_table_attach_defaults(GTK_TABLE(table), icon_get_widget(ICON_TB, 0), - 0, 1, tb_row+0, tb_row+1); + GtkWidget *icon = NULL; + if(strcasestr(tb->name, "coin") != 0) + icon = icon_get_widget(ICON_TB, 1); /* coin icon */ + else + icon = icon_get_widget(ICON_TB, 0); /* tb icon */ + gtk_table_attach_defaults(GTK_TABLE(table), icon, + 0, 1, tb_row+0, tb_row+1); if(tb->ref) { GtkWidget *ref = link_button_by_id(appdata, tb->ref, tb_type, tb->id);