From 3564b9b6bc5caba0a648e093c9c0a3348753f35b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 May 2012 01:49:22 +0000 Subject: Minor tweak to snapshot renaming. git-svn-id: svn://localhost/ardour2/branches/3.0@12205 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_snapshots.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3