#include "actions.h"
#include "ardour_ui.h"
#include "public_editor.h"
-#include "master_faders.h"
#include "meterbridge.h"
#include "luawindow.h"
#include "mixer_ui.h"
#include "opts.h"
#include "utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace Gtk;
using namespace PBD;
tabbable = mixer;
} else if (w == GTK_WIDGET(rc_option_editor->contents().gobj())) {
tabbable = rc_option_editor;
- } else if (w == GTK_WIDGET(masters->contents().gobj())) {
- tabbable = masters;
+ } else {
return 0;
}
return -1;
}
- if (create_masters()) {
- error << _("UI: cannot setup meterbridge") << endmsg;
- return -1;
- }
-
/* order of addition affects order seen in initial window display */
- masters->add_to_notebook (_tabs, _("Masters"));
rc_option_editor->add_to_notebook (_tabs, _("Preferences"));
mixer->add_to_notebook (_tabs, _("Mixer"));
editor->add_to_notebook (_tabs, _("Editor"));
_tabs.set_current_page (_tabs.page_num (mixer->contents()));
} else if (rc_option_editor && current_tab == "preferences") {
_tabs.set_current_page (_tabs.page_num (rc_option_editor->contents()));
- } else if (masters && current_tab == "masters") {
- _tabs.set_current_page (_tabs.page_num (masters->contents()));
} else if (editor) {
_tabs.set_current_page (_tabs.page_num (editor->contents()));
}