From d84f6554957acf16e9f835c435904b8b3069c8b1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 9 Jul 2015 13:27:39 -0400 Subject: add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable --- gtk2_ardour/ardour_ui2.cc | 2 +- gtk2_ardour/ardour_ui_dependents.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 0a9be6de70..bf965c7d34 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -145,7 +145,7 @@ ARDOUR_UI::setup_windows () setup_toplevel_window (_main_window, "", this); rc_option_editor = new RCOptionEditor; - rc_option_editor->add_to_notebook (_tabs, _("Preferences"), 2); + rc_option_editor->add_to_notebook (_tabs, _("Preferences")); rc_option_editor->contents().show_all (); _tabs.signal_switch_page().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_switch)); diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc index b99cc24db9..4d50787852 100644 --- a/gtk2_ardour/ardour_ui_dependents.cc +++ b/gtk2_ardour/ardour_ui_dependents.cc @@ -61,8 +61,8 @@ ARDOUR_UI::we_have_dependents () editor->setup_tooltips (); editor->UpdateAllTransportClocks.connect (sigc::mem_fun (*this, &ARDOUR_UI::update_transport_clocks)); - editor->add_to_notebook (_tabs, _("Editor"), 1); - mixer->add_to_notebook (_tabs, _("Mixer"), 1); + editor->add_to_notebook (_tabs, _("Editor")); + mixer->add_to_notebook (_tabs, _("Mixer")); /* all actions are defined */ -- cgit v1.2.3