X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_group_tabs.cc;h=04f88542bafd180d893d229f4b11d0380ce86120;hb=25ec63968c0e792217a015c402ac52ae59a85e3b;hp=aa58ed2f129ef81482c97adaf3b3fd08c4bd7ec5;hpb=91fac4c96dc6210dcc056da70dc608700d7eb570;p=ardour.git diff --git a/gtk2_ardour/editor_group_tabs.cc b/gtk2_ardour/editor_group_tabs.cc index aa58ed2f12..04f88542ba 100644 --- a/gtk2_ardour/editor_group_tabs.cc +++ b/gtk2_ardour/editor_group_tabs.cc @@ -23,16 +23,16 @@ #include "canvas/colors.h" -#include "ardour_ui.h" #include "editor.h" #include "editor_group_tabs.h" #include "editor_route_groups.h" #include "editor_routes.h" #include "rgb_macros.h" #include "route_time_axis.h" +#include "ui_config.h" #include "utils.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -91,11 +91,11 @@ EditorGroupTabs::draw_tab (cairo_t* cr, Tab const & tab) const { double const arc_radius = get_width(); double r, g, b, a; - + if (tab.group && tab.group->is_active()) { ArdourCanvas::color_to_rgba (tab.color, r, g, b, a); } else { - ArdourCanvas::color_to_rgba (ARDOUR_UI::config()->color ("inactive group tab"), r, g, b, a); + ArdourCanvas::color_to_rgba (UIConfiguration::instance().color ("inactive group tab"), r, g, b, a); } a = 1.0; @@ -192,8 +192,3 @@ EditorGroupTabs::selected_routes () const return rl; } -void -EditorGroupTabs::sync_order_keys () -{ - _editor->_routes->sync_order_keys_from_treeview (); -}