Index: gtk2_ardour/editor_region_list.cc =================================================================== --- gtk2_ardour/editor_region_list.cc (revision 1510) +++ gtk2_ardour/editor_region_list.cc (working copy) @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -85,7 +86,10 @@ string str; TreeModel::Row row; Gdk::Color c; + bool missing_source; + missing_source = boost::dynamic_pointer_cast(region->source()); + if (!show_automatic_regions_in_region_list && region->automatic()) { return; } @@ -124,7 +128,11 @@ } else if (region->whole_file()) { row = *(region_list_model->append()); - set_color(c, rgba_from_style ("RegionListWholeFile", 0xff, 0, 0, 0, "fg", Gtk::STATE_NORMAL, false )); + if (missing_source) { + c.set_rgb(65535,0,0); // FIXME: error color from style + } else { + set_color(c, rgba_from_style ("RegionListWholeFile", 0xff, 0, 0, 0, "fg", Gtk::STATE_NORMAL, false )); + } row[region_list_columns.color_] = c; if (region->source()->name()[0] == '/') { // external file @@ -150,6 +158,10 @@ } + if (missing_source) { + str += " (MISSING)"; + } + row[region_list_columns.name] = str; row[region_list_columns.region] = region;