summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-03-21 16:59:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-03-21 16:59:48 +0000
commitff5f86778484538331a6c538cc0b4eff4cbc153d (patch)
treeb028f25160651bb1fdb83103cc719b9670761af3 /gtk2_ardour/option_editor.cc
parenteb3fc0d966626aacae113a225cb6175614418a40 (diff)
save destructive xfade length in ardour.rc; change update policy for xfade sliders
git-svn-id: svn://localhost/trunk/ardour2@412 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index 2b81ff29bc..9dac7918d4 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -65,7 +65,7 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui)
short_xfade_adjustment (0, 1.0, 500.0, 5.0, 100.0),
short_xfade_slider (short_xfade_adjustment),
- destructo_xfade_adjustment (0, 1.0, 500.0, 5.0, 100.0),
+ destructo_xfade_adjustment (1.0, 1.0, 500.0, 1.0, 100.0),
destructo_xfade_slider (destructo_xfade_adjustment),
/* Sync */
@@ -94,6 +94,7 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui)
click_io_selector = 0;
auditioner_io_selector = 0;
+ session = 0;
set_default_size (300, 300);
set_title (_("ardour: options editor"));
@@ -329,6 +330,11 @@ OptionEditor::setup_fade_options ()
destructo_xfade_adjustment.signal_value_changed().connect (mem_fun(*this, &OptionEditor::destructo_xfade_adjustment_changed));
+ short_xfade_slider.set_update_policy (UPDATE_DISCONTINUOUS);
+ destructo_xfade_slider.set_update_policy (UPDATE_DISCONTINUOUS);
+
+ destructo_xfade_adjustment.set_value (Config->get_destructive_xfade_msecs());
+
fade_packer.show_all ();
}