summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_format_selector.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
commitbb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch)
treee52977d3eae6ff07b856088041a080a2fa3e5b79 /gtk2_ardour/export_format_selector.cc
parent8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff)
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_format_selector.cc')
-rw-r--r--gtk2_ardour/export_format_selector.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/export_format_selector.cc b/gtk2_ardour/export_format_selector.cc
index 122facdd39..002edaf50c 100644
--- a/gtk2_ardour/export_format_selector.cc
+++ b/gtk2_ardour/export_format_selector.cc
@@ -46,14 +46,14 @@ ExportFormatSelector::ExportFormatSelector () :
edit_button.signal_clicked().connect (sigc::hide_return (sigc::bind (sigc::mem_fun (*this, &ExportFormatSelector::open_edit_dialog), false)));
remove_button.signal_clicked().connect (sigc::mem_fun (*this, &ExportFormatSelector::remove_format));
new_button.signal_clicked().connect (sigc::mem_fun (*this, &ExportFormatSelector::add_new_format));
-
+
/* Format combo */
-
+
format_list = Gtk::ListStore::create (format_cols);
format_combo.set_model (format_list);
format_combo.pack_start (format_cols.label);
format_combo.set_active (0);
-
+
format_combo.signal_changed().connect (sigc::mem_fun (*this, &ExportFormatSelector::update_format_combo));
}
@@ -67,7 +67,7 @@ ExportFormatSelector::set_state (ARDOUR::ExportProfileManager::FormatStatePtr co
{
session = session_;
state = state_;
-
+
update_format_list ();
}
@@ -97,7 +97,7 @@ ExportFormatSelector::update_format_list ()
if (format_combo.get_active_row_number() == -1) {
format_combo.set_active (0);
}
-
+
select_format (format_to_select);
}
@@ -111,7 +111,7 @@ ExportFormatSelector::select_format (FormatPtr f)
break;
}
}
-
+
CriticalSelectionChanged();
}
@@ -119,7 +119,7 @@ void
ExportFormatSelector::add_new_format ()
{
FormatPtr new_format = state->format = NewFormat (state->format);
-
+
if (open_edit_dialog (true) != Gtk::RESPONSE_APPLY) {
remove_format();
if (state->list->empty()) {
@@ -163,7 +163,7 @@ ExportFormatSelector::update_format_combo ()
edit_button.set_sensitive (false);
remove_button.set_sensitive (false);
}
-
+
CriticalSelectionChanged();
}