add plural forms for pt to gtk2_ardour/po/pt.po
[ardour.git] / gtk2_ardour / editor_group_tabs.cc
index aa58ed2f129ef81482c97adaf3b3fd08c4bd7ec5..04f88542bafd180d893d229f4b11d0380ce86120 100644 (file)
 
 #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 ();
-}