--- trunk/src/custom_type_renderer.c 2009/11/23 18:32:06 204 +++ trunk/src/custom_type_renderer.c 2009/11/23 20:12:22 205 @@ -297,14 +297,17 @@ gdk_cairo_rectangle(cr, &draw_rect); cairo_fill(cr); - /* just a note, nothing else */ + /* add "special" addon. the order of these test results in */ + /* a priority */ GdkPixbuf *addon = NULL; - if((celltype->type & 7) == 4) // only note is set - addon = icon_get(CUSTOM_ICON_TYPE, 13); - if((celltype->type & 7) == 5) // only note and override are set - addon = icon_get(CUSTOM_ICON_TYPE, 11); - if(celltype->type & 2) // solved is set + if(celltype->type & 8) // mine is set + addon = icon_get(CUSTOM_ICON_TYPE, 14); + else if(celltype->type & 2) // solved is set addon = icon_get(CUSTOM_ICON_TYPE, 12); + else if(celltype->type & 1) // override is set + addon = icon_get(CUSTOM_ICON_TYPE, 11); + else if(celltype->type & 4) // note is set + addon = icon_get(CUSTOM_ICON_TYPE, 13); /* if override (and not found) is set */ if(addon) {