mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
NO-OP: whitespace
This commit is contained in:
parent
b49656213d
commit
22ab752924
2 changed files with 12 additions and 12 deletions
|
|
@ -210,7 +210,7 @@ EditorSources::EditorSources (Editor* e)
|
||||||
nat_col->set_alignment (ALIGN_RIGHT);
|
nat_col->set_alignment (ALIGN_RIGHT);
|
||||||
renderer = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (5));
|
renderer = dynamic_cast<CellRendererText*>(_display.get_column_cell_renderer (5));
|
||||||
if (renderer) {
|
if (renderer) {
|
||||||
renderer->property_xalign() = ( 1.0 );
|
renderer->property_xalign() = 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the PATH field should expand when the pane is opened wider */
|
/* the PATH field should expand when the pane is opened wider */
|
||||||
|
|
@ -421,7 +421,7 @@ EditorSources::populate_row (TreeModel::Row row, boost::shared_ptr<ARDOUR::Regio
|
||||||
boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource>(source);
|
boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource>(source);
|
||||||
if (afs) {
|
if (afs) {
|
||||||
const string audio_directory = _session->session_directory().sound_path();
|
const string audio_directory = _session->session_directory().sound_path();
|
||||||
if ( !PBD::path_is_within(audio_directory, fs->path())) {
|
if (!PBD::path_is_within(audio_directory, fs->path())) {
|
||||||
pathstr = Gtkmm2ext::markup_escape_text (fs->path());
|
pathstr = Gtkmm2ext::markup_escape_text (fs->path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -429,7 +429,7 @@ EditorSources::populate_row (TreeModel::Row row, boost::shared_ptr<ARDOUR::Regio
|
||||||
boost::shared_ptr<SMFSource> mfs = boost::dynamic_pointer_cast<SMFSource>(source);
|
boost::shared_ptr<SMFSource> mfs = boost::dynamic_pointer_cast<SMFSource>(source);
|
||||||
if (mfs) {
|
if (mfs) {
|
||||||
const string midi_directory = _session->session_directory().midi_path();
|
const string midi_directory = _session->session_directory().midi_path();
|
||||||
if ( !PBD::path_is_within(midi_directory, fs->path())) {
|
if (!PBD::path_is_within(midi_directory, fs->path())) {
|
||||||
pathstr = Gtkmm2ext::markup_escape_text (fs->path());
|
pathstr = Gtkmm2ext::markup_escape_text (fs->path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -469,7 +469,7 @@ EditorSources::redisplay ()
|
||||||
void
|
void
|
||||||
EditorSources::add_source (boost::shared_ptr<ARDOUR::Region> region)
|
EditorSources::add_source (boost::shared_ptr<ARDOUR::Region> region)
|
||||||
{
|
{
|
||||||
if (!region || !_session ) {
|
if (!region || !_session) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -477,7 +477,7 @@ EditorSources::add_source (boost::shared_ptr<ARDOUR::Region> region)
|
||||||
* this roughly equates to Source objects, but preserves the stereo-ness
|
* this roughly equates to Source objects, but preserves the stereo-ness
|
||||||
* (or multichannel-ness) of a stereo source file.
|
* (or multichannel-ness) of a stereo source file.
|
||||||
*/
|
*/
|
||||||
if ( !region->whole_file() ) {
|
if (!region->whole_file ()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -498,7 +498,7 @@ EditorSources::add_source (boost::shared_ptr<ARDOUR::Region> region)
|
||||||
void
|
void
|
||||||
EditorSources::source_changed (boost::shared_ptr<ARDOUR::Region> region, PBD::PropertyChange const &)
|
EditorSources::source_changed (boost::shared_ptr<ARDOUR::Region> region, PBD::PropertyChange const &)
|
||||||
{
|
{
|
||||||
if ( !region->whole_file() ) {
|
if (!region->whole_file ()) {
|
||||||
/*this isn't on our list anyway; we can ignore it*/
|
/*this isn't on our list anyway; we can ignore it*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -538,9 +538,9 @@ EditorSources::selection_changed ()
|
||||||
if (source) {
|
if (source) {
|
||||||
|
|
||||||
set<boost::shared_ptr<Region> > regions;
|
set<boost::shared_ptr<Region> > regions;
|
||||||
RegionFactory::get_regions_using_source ( source, regions );
|
RegionFactory::get_regions_using_source (source, regions);
|
||||||
|
|
||||||
for (set<boost::shared_ptr<Region> >::iterator region = regions.begin(); region != regions.end(); region++ ) {
|
for (set<boost::shared_ptr<Region> >::iterator region = regions.begin(); region != regions.end(); region++) {
|
||||||
_change_connection.block (true);
|
_change_connection.block (true);
|
||||||
_editor->set_selected_regionview_from_region_list (*region, Selection::Add);
|
_editor->set_selected_regionview_from_region_list (*region, Selection::Add);
|
||||||
_change_connection.block (false);
|
_change_connection.block (false);
|
||||||
|
|
@ -691,7 +691,7 @@ EditorSources::remove_selected_sources ()
|
||||||
|
|
||||||
int opt = prompter.run ();
|
int opt = prompter.run ();
|
||||||
|
|
||||||
if ( opt >= 1) {
|
if (opt >= 1) {
|
||||||
|
|
||||||
std::list<boost::weak_ptr<ARDOUR::Source> > to_be_removed;
|
std::list<boost::weak_ptr<ARDOUR::Source> > to_be_removed;
|
||||||
|
|
||||||
|
|
@ -713,9 +713,9 @@ EditorSources::remove_selected_sources ()
|
||||||
boost::shared_ptr<ARDOUR::Source> source = region->source();
|
boost::shared_ptr<ARDOUR::Source> source = region->source();
|
||||||
if (source) {
|
if (source) {
|
||||||
set<boost::shared_ptr<Region> > regions;
|
set<boost::shared_ptr<Region> > regions;
|
||||||
RegionFactory::get_regions_using_source ( source, regions );
|
RegionFactory::get_regions_using_source (source, regions);
|
||||||
|
|
||||||
for (set<boost::shared_ptr<Region> >::iterator region = regions.begin(); region != regions.end(); region++ ) {
|
for (set<boost::shared_ptr<Region> >::iterator region = regions.begin(); region != regions.end(); region++) {
|
||||||
_change_connection.block (true);
|
_change_connection.block (true);
|
||||||
_editor->set_selected_regionview_from_region_list (*region, Selection::Add);
|
_editor->set_selected_regionview_from_region_list (*region, Selection::Add);
|
||||||
_change_connection.block (false);
|
_change_connection.block (false);
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ private:
|
||||||
|
|
||||||
void freeze_tree_model ();
|
void freeze_tree_model ();
|
||||||
void thaw_tree_model ();
|
void thaw_tree_model ();
|
||||||
void source_changed (boost::shared_ptr<ARDOUR::Region>, PBD::PropertyChange const &);
|
void source_changed (boost::shared_ptr<ARDOUR::Region>, PBD::PropertyChange const&);
|
||||||
void populate_row (Gtk::TreeModel::Row row, boost::shared_ptr<ARDOUR::Region> region);
|
void populate_row (Gtk::TreeModel::Row row, boost::shared_ptr<ARDOUR::Region> region);
|
||||||
void selection_changed ();
|
void selection_changed ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue