summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_filename_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-25 00:23:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-25 00:23:12 +0000
commit4904b33f4557e46660df8ff72f757c342684e706 (patch)
tree44a785775ad067d3c96de322b295f457fcf33e81 /gtk2_ardour/export_filename_selector.cc
parent917bf92de6268c9f1539d43fd069f5f1e53c9d4d (diff)
tweak layout of export dialog to try to make it clear what to enter when setting up the filename. nice checking for the user having understood this is not yet in place
git-svn-id: svn://localhost/ardour2/branches/3.0@13078 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_filename_selector.cc')
-rw-r--r--gtk2_ardour/export_filename_selector.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk2_ardour/export_filename_selector.cc b/gtk2_ardour/export_filename_selector.cc
index 1b85d6585c..4f3a02a015 100644
--- a/gtk2_ardour/export_filename_selector.cc
+++ b/gtk2_ardour/export_filename_selector.cc
@@ -27,7 +27,7 @@
using namespace ARDOUR;
ExportFilenameSelector::ExportFilenameSelector () :
- include_label (_("Include in Filename(s):"), Gtk::ALIGN_LEFT),
+ include_label ("", Gtk::ALIGN_LEFT),
label_label (_("Label:"), Gtk::ALIGN_LEFT),
session_checkbox (_("Session Name")),
@@ -38,10 +38,12 @@ ExportFilenameSelector::ExportFilenameSelector () :
example_filename_label ("", Gtk::ALIGN_LEFT)
{
+ include_label.set_markup (_("<i>Build filename(s) from these components:</i>"));
+
+ pack_start (path_hbox, false, false, 12);
pack_start (include_label, false, false, 6);
pack_start (include_hbox, false, false, 0);
- pack_start (path_hbox, false, false, 12);
- pack_start (example_filename_label, false, false, 0);
+ pack_start (example_filename_label, false, false, 12);
include_hbox.pack_start (label_label, false, false, 3);
include_hbox.pack_start (label_entry, false, false, 3);
@@ -207,10 +209,9 @@ void
ExportFilenameSelector::set_example_filename (std::string filename)
{
if (filename == "") {
- example_filename_label.set_text (_("Sorry, no example filename can be shown at the moment"));
+ example_filename_label.set_markup (_("<small><i>Sorry, no example filename can be shown at the moment</i></small>"));
} else {
- example_filename_label.set_text (string_compose(_("Example filename: \"%1\""),
- filename));
+ example_filename_label.set_markup (string_compose(_("<small><i>Current (approximate) filename: \"%1\"</i></small>"), filename));
}
}