diff options
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.cc')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc index 936c071290..d0f806e71a 100644 --- a/gtk2_ardour/strip_silence_dialog.cc +++ b/gtk2_ardour/strip_silence_dialog.cc @@ -53,6 +53,7 @@ StripSilenceDialog* StripSilenceDialog::current = 0; /** Construct Strip silence dialog box */ StripSilenceDialog::StripSilenceDialog (Session* s, list<boost::shared_ptr<ARDOUR::AudioRegion> > const & regions) : ArdourDialog (_("Strip Silence")) + , ProgressReporter () , _minimum_length (X_("silence duration"), true, "SilenceDurationClock", true, false, true, false) , _fade_length (X_("silence duration"), true, "SilenceDurationClock", true, false, true, false) , _wave_width (640) @@ -143,6 +144,8 @@ StripSilenceDialog::StripSilenceDialog (Session* s, list<boost::shared_ptr<ARDOU get_vbox()->pack_start (*_canvas, true, true); + get_vbox()->pack_start (_progress_bar, true, true); + show_all (); _threshold.get_adjustment()->signal_value_changed().connect (sigc::mem_fun (*this, &StripSilenceDialog::threshold_changed)); @@ -560,3 +563,9 @@ StripSilenceDialog::Wave::~Wave () delete *i; } } + +void +StripSilenceDialog::update_progress_gui (float p) +{ + _progress_bar.set_fraction (p); +} |