diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-18 23:03:16 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:25 -0500 |
commit | 1e537cb53905509eead1c552d012d99982619ec3 (patch) | |
tree | 6101174fa22ca4298a62e80d04c37235e541d0de /gtk2_ardour/ardour_ui_ed.cc | |
parent | 51879285c5ec92f981c1e7bd0c9a38659b7d9a9f (diff) |
remove tab-related code for tabbed notebook, add tooltips to new buttons
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index 15b129ef89..a8900fd028 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -587,6 +587,18 @@ ARDOUR_UI::build_menu_bar () prefs_visibility_button.set_related_action (ActionManager::get_action (X_("Common"), X_("show-preferences"))); prefs_visibility_button.set_name (X_("page switch button")); + Gtkmm2ext::UI::instance()->set_tip (editor_visibility_button, + string_compose (_("Drag this tab to the desktop to show %1 in its own window\n\n" + "To put the window back, use the Window > %1 > Attach menu action"), editor->name())); + + Gtkmm2ext::UI::instance()->set_tip (mixer_visibility_button, + string_compose (_("Drag this tab to the desktop to show %1 in its own window\n\n" + "To put the window back, use the Window > %1 > Attach menu action"), mixer->name())); + + Gtkmm2ext::UI::instance()->set_tip (prefs_visibility_button, + string_compose (_("Drag this tab to the desktop to show %1 in its own window\n\n" + "To put the window back, use the Window > %1 > Attach menu action"), rc_option_editor->name())); + window_button_box->pack_start (editor_visibility_button, false, false); window_button_box->pack_start (mixer_visibility_button, false, false); window_button_box->pack_start (prefs_visibility_button, false, false); |