mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
Minor tweak to snapshot renaming.
git-svn-id: svn://localhost/ardour2/branches/3.0@12205 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9af5b7da63
commit
3564b9b6bc
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ EditorSnapshots::popup_context_menu (int button, int32_t time, std::string snaps
|
|||
|
||||
add_item_with_sensitivity (items, MenuElem (_("Remove"), sigc::bind (sigc::mem_fun (*this, &EditorSnapshots::remove), snapshot_name)), modification_allowed);
|
||||
|
||||
add_item_with_sensitivity (items, MenuElem (_("Rename"), sigc::bind (sigc::mem_fun (*this, &EditorSnapshots::rename), snapshot_name)), modification_allowed);
|
||||
add_item_with_sensitivity (items, MenuElem (_("Rename..."), sigc::bind (sigc::mem_fun (*this, &EditorSnapshots::rename), snapshot_name)), modification_allowed);
|
||||
|
||||
_menu.popup (button, time);
|
||||
}
|
||||
|
|
@ -134,6 +134,7 @@ EditorSnapshots::rename (std::string old_name)
|
|||
string new_name;
|
||||
|
||||
prompter.set_name ("Prompter");
|
||||
prompter.set_title (_("Rename Snapshot"));
|
||||
prompter.add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT);
|
||||
prompter.set_prompt (_("New name of snapshot"));
|
||||
prompter.set_initial_text (old_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue