projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add left/right side trim cursors and use them for region trimming, as appropriate
[ardour.git]
/
gtk2_ardour
/
time_fx_dialog.cc
diff --git
a/gtk2_ardour/time_fx_dialog.cc
b/gtk2_ardour/time_fx_dialog.cc
index 34fe6e932df977e59e1ab848159b873f3332afa2..d1650430b24b6a7dd39071601e44e23c070098f7 100644
(file)
--- a/
gtk2_ardour/time_fx_dialog.cc
+++ b/
gtk2_ardour/time_fx_dialog.cc
@@
-29,7
+29,6
@@
#include "pbd/pthread_utils.h"
#include "pbd/memento_command.h"
#include "pbd/pthread_utils.h"
#include "pbd/memento_command.h"
-#include <gtkmm2ext/window_title.h>
#include <gtkmm2ext/utils.h>
#include "editor.h"
#include <gtkmm2ext/utils.h>
#include "editor.h"
@@
-42,7
+41,6
@@
#include "ardour/audioplaylist.h"
#include "ardour/audio_track.h"
#include "ardour/audioregion.h"
#include "ardour/audioplaylist.h"
#include "ardour/audio_track.h"
#include "ardour/audioregion.h"
-#include "ardour/audio_diskstream.h"
#include "ardour/stretch.h"
#include "ardour/midi_stretch.h"
#include "ardour/pitch.h"
#include "ardour/stretch.h"
#include "ardour/midi_stretch.h"
#include "ardour/pitch.h"
@@
-57,7
+55,6
@@
using namespace RubberBand;
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace std;
using namespace ARDOUR;
using namespace PBD;
-using namespace sigc;
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace Gtkmm2ext;
@@
-83,13
+80,11
@@
TimeFXDialog::TimeFXDialog (Editor& e, bool pitch)
set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("TimeFXDialog"));
set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("TimeFXDialog"));
- WindowTitle title(Glib::get_application_name());
if (pitching) {
if (pitching) {
-
title += _("Pitch Shift"
);
+
set_title (_("Pitch Shift")
);
} else {
} else {
-
title += _("Time Stretch"
);
+
set_title (_("Time Stretch")
);
}
}
- set_title(title.get_string());
cancel_button = add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
cancel_button = add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);