X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_snapshots.cc;h=e7bd89f6043235eecfbbc2651cd4bb814e8dc325;hb=8dd31447be22c20a51f019c8ea77c27ba975815c;hp=8b544508d70d0541ea1de3bbb4d463655a4c12cf;hpb=8687895abba4209a6de8d8a8fc1bda5996f0d875;p=ardour.git diff --git a/gtk2_ardour/editor_snapshots.cc b/gtk2_ardour/editor_snapshots.cc index 8b544508d7..e7bd89f604 100644 --- a/gtk2_ardour/editor_snapshots.cc +++ b/gtk2_ardour/editor_snapshots.cc @@ -52,9 +52,9 @@ EditorSnapshots::EditorSnapshots (Editor* e) } void -EditorSnapshots::connect_to_session (Session* s) +EditorSnapshots::set_session (Session* s) { - EditorComponent::connect_to_session (s); + EditorComponent::set_session (s); redisplay (); } @@ -154,12 +154,12 @@ EditorSnapshots::remove (Glib::ustring name) { vector choices; - std::string prompt = string_compose (_("Do you really want to remove snapshot \"%1\" ?\n(cannot be undone)"), name); + std::string prompt = string_compose (_("Do you really want to remove snapshot \"%1\" ?\n(which cannot be undone)"), name); choices.push_back (_("No, do nothing.")); choices.push_back (_("Yes, remove it.")); - Gtkmm2ext::Choice prompter (prompt, choices); + Gtkmm2ext::Choice prompter (_("Remove snapshot"), prompt, choices); if (prompter.run () == 1) { _session->remove_state (name);