diff options
author | Doug McLain <doug@nostar.net> | 2006-01-06 15:06:33 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2006-01-06 15:06:33 +0000 |
commit | 1186b1d881fac3d1d1b55954b84b958c988501c4 (patch) | |
tree | daebae62a81cd7f88a4c04335a47c569d94d17ed /gtk2_ardour/editor_region_list.cc | |
parent | bd21c474e547d49338ea0efd452895de1e147cd5 (diff) |
modified rgba_from_style() so that it can be used to retrieve any attribute from any style, return rgb or rgba, then used to to remove hard coding of colors in transport buttons and whole_file region names. Theme changes too
git-svn-id: svn://localhost/trunk/ardour2@245 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_region_list.cc')
-rw-r--r-- | gtk2_ardour/editor_region_list.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_region_list.cc b/gtk2_ardour/editor_region_list.cc index 04f59944b8..034c20f7f0 100644 --- a/gtk2_ardour/editor_region_list.cc +++ b/gtk2_ardour/editor_region_list.cc @@ -112,7 +112,7 @@ Editor::add_audio_region_to_region_display (AudioRegion *region) } else if (region->whole_file()) { row = *(region_list_model->append()); - set_color(c, 65535, 0, 0); + 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 |