X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_dialog.cc;h=ae8e963d9ada39d8561f97e0d1126c9958e0b3ce;hb=54edd7b466066225ca100ae01028d9eaa81272c8;hp=2ed0086ae939c168e7320f34056004564cae7724;hpb=14b0ca31bcb62e5b7e9e77634ef9cd2e8cf65800;p=ardour.git diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 2ed0086ae9..ae8e963d9a 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -29,6 +29,8 @@ #include "export_dialog.h" #include "gui_thread.h" +#include "i18n.h" + using namespace ARDOUR; using namespace PBD; @@ -122,13 +124,15 @@ ExportDialog::init () /* Buttons */ cancel_button = add_button (Gtk::Stock::CANCEL, RESPONSE_CANCEL); - rt_export_button = add_button (_("Realtime Export"), RESPONSE_RT); - fast_export_button = add_button (_("Fast Export"), RESPONSE_FAST); + // Realtime export is disabled for now, as it will most probably not work + //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"); 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)); /* Done! */ @@ -233,7 +237,7 @@ ExportDialog::update_warnings () list_files_string = ""; fast_export_button->set_sensitive (true); - rt_export_button->set_sensitive (true); + //rt_export_button->set_sensitive (true); /* Add new warnings */ @@ -294,7 +298,7 @@ ExportDialog::show_progress () status->running = true; cancel_button->set_label (_("Stop Export")); - rt_export_button->set_sensitive (false); + //rt_export_button->set_sensitive (false); fast_export_button->set_sensitive (false); progress_bar.set_fraction (0.0); @@ -349,7 +353,7 @@ void ExportDialog::add_error (Glib::ustring const & text) { fast_export_button->set_sensitive (false); - rt_export_button->set_sensitive (false); + //rt_export_button->set_sensitive (false); if (warn_string.empty()) { warn_string = _("Error: ") + text + "";