mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
Remove the realtime export button from the export dialog, as it's not really functional atm
git-svn-id: svn://localhost/ardour2/branches/3.0@6809 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a743d20dce
commit
455058835e
1 changed files with 8 additions and 6 deletions
|
|
@ -122,13 +122,15 @@ ExportDialog::init ()
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
|
|
||||||
cancel_button = add_button (Gtk::Stock::CANCEL, RESPONSE_CANCEL);
|
cancel_button = add_button (Gtk::Stock::CANCEL, RESPONSE_CANCEL);
|
||||||
rt_export_button = add_button (_("Realtime Export"), RESPONSE_RT);
|
// Realtime export is disabled for now, as it will most probably not work
|
||||||
fast_export_button = add_button (_("Fast Export"), RESPONSE_FAST);
|
//rt_export_button = add_button (_("Realtime Export"), RESPONSE_RT);
|
||||||
|
//fast_export_button = add_button (_("Fast Export"), RESPONSE_FAST);
|
||||||
|
fast_export_button = add_button (_("Export"), RESPONSE_FAST);
|
||||||
|
|
||||||
list_files_button.set_name ("PaddedButton");
|
list_files_button.set_name ("PaddedButton");
|
||||||
|
|
||||||
cancel_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::close_dialog));
|
cancel_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::close_dialog));
|
||||||
rt_export_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::export_rt));
|
//rt_export_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::export_rt));
|
||||||
fast_export_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::export_fw));
|
fast_export_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportDialog::export_fw));
|
||||||
|
|
||||||
/* Done! */
|
/* Done! */
|
||||||
|
|
@ -233,7 +235,7 @@ ExportDialog::update_warnings ()
|
||||||
list_files_string = "";
|
list_files_string = "";
|
||||||
|
|
||||||
fast_export_button->set_sensitive (true);
|
fast_export_button->set_sensitive (true);
|
||||||
rt_export_button->set_sensitive (true);
|
//rt_export_button->set_sensitive (true);
|
||||||
|
|
||||||
/* Add new warnings */
|
/* Add new warnings */
|
||||||
|
|
||||||
|
|
@ -294,7 +296,7 @@ ExportDialog::show_progress ()
|
||||||
status->running = true;
|
status->running = true;
|
||||||
|
|
||||||
cancel_button->set_label (_("Stop Export"));
|
cancel_button->set_label (_("Stop Export"));
|
||||||
rt_export_button->set_sensitive (false);
|
//rt_export_button->set_sensitive (false);
|
||||||
fast_export_button->set_sensitive (false);
|
fast_export_button->set_sensitive (false);
|
||||||
|
|
||||||
progress_bar.set_fraction (0.0);
|
progress_bar.set_fraction (0.0);
|
||||||
|
|
@ -349,7 +351,7 @@ void
|
||||||
ExportDialog::add_error (Glib::ustring const & text)
|
ExportDialog::add_error (Glib::ustring const & text)
|
||||||
{
|
{
|
||||||
fast_export_button->set_sensitive (false);
|
fast_export_button->set_sensitive (false);
|
||||||
rt_export_button->set_sensitive (false);
|
//rt_export_button->set_sensitive (false);
|
||||||
|
|
||||||
if (warn_string.empty()) {
|
if (warn_string.empty()) {
|
||||||
warn_string = _("<span color=\"#ffa755\">Error: ") + text + "</span>";
|
warn_string = _("<span color=\"#ffa755\">Error: ") + text + "</span>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue