From defa1fad942e9a33b8fe3f56b26427af069a1b73 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 23 Dec 2009 01:26:33 +0000 Subject: Give titles to Gtkmm2ext::Choice prompts, and do some minor cleanups to prompt text. git-svn-id: svn://localhost/ardour2/branches/3.0@6394 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_audio_import.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/editor_audio_import.cc') diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc index 108dcde7d3..de275f8738 100644 --- a/gtk2_ardour/editor_audio_import.cc +++ b/gtk2_ardour/editor_audio_import.cc @@ -596,9 +596,11 @@ Editor::embed_sndfiles (vector paths, bool multifile, choices.push_back (_("Embed all without questions")); Gtkmm2ext::Choice rate_choice ( + _("Sample rate"), string_compose (_("%1\nThis audiofile's sample rate doesn't match the session sample rate!"), short_path (path, 40)), - choices, false); + choices, false + ); int resx = rate_choice.run (); @@ -623,8 +625,10 @@ Editor::embed_sndfiles (vector paths, bool multifile, choices.push_back (_("Embed it anyway")); Gtkmm2ext::Choice rate_choice ( + _("Sample rate"), string_compose (_("%1\nThis audiofile's sample rate doesn't match the session sample rate!"), path), - choices, false); + choices, false + ); int resx = rate_choice.run (); -- cgit v1.2.3