From d748fce391cbef0760dd1d9e175602c9b3b5fc59 Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Sat, 12 Apr 2014 20:01:34 -0500 Subject: [PATCH] Adding tooltips [git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 452392] --- gtk2_ardour/session_dialog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 6be0c81f3c..a958027101 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -106,8 +106,8 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name, for (size_t i = 0; i < MAX_RECENT_SESSION_COUNTS; i++) { recent_session_button[i]->signal_clicked.connect (sigc::mem_fun (*this, &SessionDialog::on_recent_session )); } - redisplay_recent_sessions(); show_all (); + redisplay_recent_sessions(); } SessionDialog::~SessionDialog() @@ -244,6 +244,7 @@ SessionDialog::redisplay_recent_sessions () recent_session_full_name[session_snapshot_count] = Glib::build_filename (dirname, state_file_names.front() + statefile_suffix); recent_session_button[session_snapshot_count]->set_text(Glib::path_get_basename (dirname)); recent_session_button[session_snapshot_count]->set_sensitive(true); + ARDOUR_UI::instance()->set_tip(*recent_session_button[session_snapshot_count], recent_session_full_name[session_snapshot_count]); ++session_snapshot_count; }