style "treeview_parent_node"
{
# specifies *just* the color used for whole file rows when not selected
+
fg[NORMAL] = { 0.0, 0.6, 0.85 }
}
GtkWidget::focus-line-width = 0
# expander arrow border and DnD "icon" text
- #fg[NORMAL] = { 0.8, 0.8, 0.8 }
+ fg[NORMAL] = { 0.8, 0.8, 0.8 }
bg[NORMAL] = { 0.8, 0.8, 0.8 }
# background with no rows or no selection, plus
# expander arrow core and DnD "icon" background
- #base[NORMAL] = { 0.20, 0.20, 0.25 }
+ base[NORMAL] = { 0.20, 0.20, 0.25 }
# selected row bg when window does not have focus (including during DnD)
- #base[ACTIVE] = { 0.0, 0.60, 0.60 }
+ base[ACTIVE] = { 0.0, 0.75, 0.75 }
# selected row bg when window has focus
- #base[SELECTED] = { 0, 0.75, 0.75 }
+ base[SELECTED] = { 0, 0.75, 0.75 }
# row text when in normal state and not a parent
- #text[NORMAL] = { 0.80, 0.80, 0.80 }
+ text[NORMAL] = { 0.80, 0.80, 0.80 }
# selected row text with window focus
- #text[SELECTED] = { 0, 1.0, 1.0 }
+ text[SELECTED] = { 1.0, 1.0, 1.0 }
# selected row text without window focus (including during DnD)
- #text[ACTIVE] = { 0, 1.0, 1.0 }
+ text[ACTIVE] = { 1.0, 1.0, 1.0 }
}
style "main_canvas_area"
foo << region->n_channels ();
str += " [";
str += foo.str();
- str += ']';
+ str += "]";
}
row[region_list_columns.name] = str;
row[region_list_columns.region] = region;
- populate_row(region, row);
+ populate_row(region, (*row));
}
boost::shared_ptr<Region> compared_region = (*i)[region_list_columns.region];
if (r == compared_region) {
- region_list_display.get_selection()->select(*i);;
+ region_list_display.get_selection()->select(*i);
break;
}
boost::shared_ptr<Region> compared_region = (*i)[region_list_columns.region];
if (region == compared_region) {
- region_list_display.get_selection()->select(*i);;
+ region_list_display.get_selection()->select(*i);
return true;
}
if (!(*i).children().empty()) {
- if (update_region_subrows(region, (*i), level + 1)) {
+ if (set_selected_in_region_list_subrow(region, (*i), level + 1)) {
return true;
}
}
row[region_list_columns.start] = start_str;
row[region_list_columns.end] = end_str;
- if (region->sync_position() == region->position()) {
+ if (region->sync_position() == 0) {
row[region_list_columns.sync] = _("Start");
- } else if (region->sync_position() == (region->position() + region->length() - 1)) {
+ } else if (region->sync_position() == region->length() - 1) {
row[region_list_columns.sync] = _("End");
} else {
row[region_list_columns.sync] = sync_str;