summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_dialog.cc
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2012-01-29 20:55:44 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2012-01-29 20:55:44 +0000
commitdba601eeab9054ca4fac811c6c5e414d59fdc460 (patch)
tree247c39f68f793ec0954f916182b206e53913774c /gtk2_ardour/export_dialog.cc
parentb34e9155db41c300c7f92af4d30351bcb98b00df (diff)
Show an example filename in the main export dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11383 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r--gtk2_ardour/export_dialog.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index 3dea7ee1a6..9155595b8c 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -91,13 +91,13 @@ ExportDialog::set_session (ARDOUR::Session* s)
/* Warnings */
preset_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::sync_with_manager));
- timespan_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings));
- channel_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings));
- file_notebook->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings));
+ timespan_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings_and_example_filename));
+ channel_selector->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings_and_example_filename));
+ file_notebook->CriticalSelectionChanged.connect (sigc::mem_fun (*this, &ExportDialog::update_warnings_and_example_filename));
status->Aborting.connect (abort_connection, invalidator (*this), boost::bind (&ExportDialog::notify_errors, this), gui_context());
- update_warnings ();
+ update_warnings_and_example_filename ();
}
void
@@ -226,11 +226,11 @@ ExportDialog::sync_with_manager ()
channel_selector->sync_with_manager();
file_notebook->sync_with_manager ();
- update_warnings ();
+ update_warnings_and_example_filename ();
}
void
-ExportDialog::update_warnings ()
+ExportDialog::update_warnings_and_example_filename ()
{
/* Reset state */
@@ -263,7 +263,9 @@ ExportDialog::update_warnings ()
}
}
-
+ /* Update example filename */
+
+ file_notebook->update_example_filenames();
}
void