projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI updates for export-abort
[ardour.git]
/
gtk2_ardour
/
export_dialog.cc
diff --git
a/gtk2_ardour/export_dialog.cc
b/gtk2_ardour/export_dialog.cc
index 96870428efba03bf2f9c9374168fa31f9136baf0..acf34dcbbe76ccbc90879ce85f196dbd7b7fd554 100644
(file)
--- a/
gtk2_ardour/export_dialog.cc
+++ b/
gtk2_ardour/export_dialog.cc
@@
-186,7
+186,7
@@
ExportDialog::notify_errors (bool force)
void
ExportDialog::close_dialog ()
{
void
ExportDialog::close_dialog ()
{
- if (status->running) {
+ if (status->running
()
) {
status->abort();
}
status->abort();
}
@@
-299,8
+299,6
@@
ExportDialog::do_export ()
void
ExportDialog::show_progress ()
{
void
ExportDialog::show_progress ()
{
- status->running = true;
-
cancel_button->set_label (_("Stop Export"));
export_button->set_sensitive (false);
cancel_button->set_label (_("Stop Export"));
export_button->set_sensitive (false);
@@
-312,7
+310,7
@@
ExportDialog::show_progress ()
gtk_main_iteration ();
gtk_main_iteration ();
- while (status->running) {
+ while (status->running
()
) {
if (gtk_events_pending()) {
gtk_main_iteration ();
} else {
if (gtk_events_pending()) {
gtk_main_iteration ();
} else {