summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_snapshots.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-05-08 01:49:22 +0000
committerCarl Hetherington <carl@carlh.net>2012-05-08 01:49:22 +0000
commit3564b9b6bc5caba0a648e093c9c0a3348753f35b (patch)
treeee66f8b2ede9258981c028a79449b25e25e99442 /gtk2_ardour/editor_snapshots.cc
parent9af5b7da63c85e1167756f58de807bdf05e6e60e (diff)
Minor tweak to snapshot renaming.
git-svn-id: svn://localhost/ardour2/branches/3.0@12205 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_snapshots.cc')
-rw-r--r--gtk2_ardour/editor_snapshots.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_snapshots.cc b/gtk2_ardour/editor_snapshots.cc
index d9c1489e82..c47c815984 100644
--- a/gtk2_ardour/editor_snapshots.cc
+++ b/gtk2_ardour/editor_snapshots.cc
@@ -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);